Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009362, allocations: 96.19 kB / 16.95 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001022, allocations: 182.7 kB / 17.84 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1743/0.1743, allocations: 38.04 MB / 310.3 MB, free: 6.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.0005329, allocations: 15.12 kB / 377.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.305, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002314/0.3074, allocations: 1.774 MB / 435.2 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3099, allocations: 1.947 MB / 437.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.31, allocations: 0 / 437.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3101, allocations: 7.922 kB / 437.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.3102, allocations: 31.84 kB / 437.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3116, allocations: 0.6379 MB / 437.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.3117, allocations: 103.6 kB / 438 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.3118, allocations: 4.188 kB / 438 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.3119, allocations: 39.83 kB / 438 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.3119, allocations: 51.83 kB / 438.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.312, allocations: 0 / 438.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3132, allocations: 1.06 MB / 439.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.3133, allocations: 43.84 kB / 439.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.3133, allocations: 45.58 kB / 439.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007718/0.3141, allocations: 0.9453 MB / 440.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3141, allocations: 0 / 440.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3141, allocations: 0 / 440.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3141, allocations: 0 / 440.2 MB, free: 12.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005985/0.3147, allocations: 0.5939 MB / 440.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.3148, allocations: 8.031 kB / 440.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.3149, allocations: 15.72 kB / 440.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3151, allocations: 214.6 kB / 441 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3151, allocations: 0 / 441 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3151, allocations: 4 kB / 441 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3153, allocations: 134.6 kB / 441.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3154, allocations: 0 / 441.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3154, allocations: 0 / 441.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3154, allocations: 3.953 kB / 441.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3155, allocations: 100.3 kB / 441.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.3156, allocations: 210 kB / 441.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3158, allocations: 158.8 kB / 441.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3159, allocations: 157.2 kB / 441.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.3159, allocations: 0 / 441.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3159, allocations: 30.56 kB / 441.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 8.52e-07/0.316, allocations: 0 / 441.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005619/0.3165, allocations: 499.7 kB / 442.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3166, allocations: 113 kB / 442.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3167, allocations: 166.9 kB / 442.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3167, allocations: 29.7 kB / 442.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3168, allocations: 108.8 kB / 442.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.3169, allocations: 130.1 kB / 442.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.3169, allocations: 0 / 442.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.317, allocations: 334.8 kB / 443.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.3171, allocations: 91.97 kB / 443.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.3171, allocations: 99.95 kB / 443.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3173, allocations: 186.9 kB / 443.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3173, allocations: 0 / 443.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000281/0.3176, allocations: 334.9 kB / 443.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.3177, allocations: 93.69 kB / 443.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3177, allocations: 0 / 443.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3177, allocations: 3.938 kB / 443.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.3177, allocations: 0 / 443.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3177, allocations: 3.938 kB / 443.9 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.3178, allocations: 27.64 kB / 443.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.3178, allocations: 8 kB / 443.9 MB, free: 8.066 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.318, allocations: 235.4 kB / 444.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.318, allocations: 27.72 kB / 444.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.3181, allocations: 22.64 kB / 444.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3181, allocations: 0 / 444.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3181, allocations: 0 / 444.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3181, allocations: 0 / 444.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3183, allocations: 237.4 kB / 444.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3183, allocations: 0 / 444.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.3183, allocations: 3.938 kB / 444.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3183, allocations: 3.984 kB / 444.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3183, allocations: 8 kB / 444.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3183, allocations: 0 / 444.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3183, allocations: 0 / 444.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.3193, allocations: 0.9198 MB / 445.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.3194, allocations: 104.7 kB / 445.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.3194, allocations: 4 kB / 445.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.3195, allocations: 8 kB / 445.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3196, allocations: 4 kB / 445.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3196, allocations: 8 kB / 445.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.3197, allocations: 131.2 kB / 445.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3197, allocations: 4.031 kB / 445.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007337/0.3204, allocations: 355.9 kB / 446 MB, free: 5.906 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007452/0.3212, allocations: 357.7 kB / 446.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3222, allocations: 1.6 MB / 447.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3222, allocations: 0 / 447.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.323, allocations: 1.374 MB / 449.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3233, allocations: 19.95 kB / 449.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.3242, allocations: 0.7599 MB / 450.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.3244, allocations: 0.7559 MB / 450.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.3244, allocations: 7.438 kB / 450.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3244, allocations: 4 kB / 450.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of Templates: time 0.01239/0.3368, allocations: 7.089 MB / 458 MB, free: 9.855 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1