Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009083, allocations: 92.81 kB / 17.31 MB, free: 6.531 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.001077/0.001078, allocations: 176.8 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 242.2 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1843/0.1843, allocations: 38.09 MB / 331.4 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 9.375 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 59.18 MB / 460.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005797/0.1352, allocations: 4.74 MB / 465.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.1382, allocations: 1.691 MB / 467 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.1386, allocations: 31.81 kB / 467 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1388, allocations: 51.61 kB / 467 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.1394, allocations: 242.9 kB / 467.3 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.1401, allocations: 235.6 kB / 467.5 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1411, allocations: 0.9003 MB / 468.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.142, allocations: 0.4935 MB / 468.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.1424, allocations: 234.9 kB / 469.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.143, allocations: 374.8 kB / 469.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.1431, allocations: 20 kB / 469.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.1435, allocations: 139.7 kB / 469.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.1438, allocations: 227.4 kB / 469.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.1441, allocations: 264.4 kB / 470.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.1446, allocations: 494.8 kB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1446, allocations: 0 / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1446, allocations: 3.938 kB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1446, allocations: 0 / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001782/0.1464, allocations: 0.7854 MB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1465, allocations: 12.03 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/0.1471, allocations: 92.22 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1481, allocations: 483.8 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.1482, allocations: 37.36 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.1484, allocations: 56.11 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1496, allocations: 0.684 MB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.1496, allocations: 7.938 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.1497, allocations: 16 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.1498, allocations: 40.98 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.1508, allocations: 0.5267 MB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.1553, allocations: 3.102 MB / 476.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.156, allocations: 325.2 kB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.1562, allocations: 178.2 kB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.1563, allocations: 7.984 kB / 477 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1563, allocations: 38.56 kB / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.1563, allocations: 0 / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00268/0.159, allocations: 1.218 MB / 478.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.1591, allocations: 81.05 kB / 478.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.1598, allocations: 397.5 kB / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.1599, allocations: 33.7 kB / 478.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.1602, allocations: 299.2 kB / 479 MB, free: 4.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.1603, allocations: 118.3 kB / 479.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1604, allocations: 45.7 kB / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1606, allocations: 358.7 kB / 479.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.1611, allocations: 193 kB / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.1617, allocations: 377.5 kB / 480.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.1627, allocations: 0.601 MB / 480.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1627, allocations: 0 / 480.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001874/0.1646, allocations: 0.8256 MB / 481.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1646, allocations: 11.94 kB / 481.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1646, allocations: 8.625 kB / 481.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.1659, allocations: 269.4 kB / 481.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.1665, allocations: 139.8 kB / 481.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/0.171, allocations: 3.746 MB / 485.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.1714, allocations: 31.89 kB / 485.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.1715, allocations: 27.98 kB / 485.7 MB, free: 12.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.1718, allocations: 229.5 kB / 485.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.1719, allocations: 39.53 kB / 486 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/0.1727, allocations: 485 kB / 486.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1727, allocations: 4 kB / 486.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.1727, allocations: 4 kB / 486.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1727, allocations: 7.984 kB / 486.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.1742, allocations: 1.019 MB / 487.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1742, allocations: 96 / 487.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.1747, allocations: 87.81 kB / 487.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1747, allocations: 4 kB / 487.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.1747, allocations: 12 kB / 487.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1747, allocations: 12.05 kB / 487.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1747, allocations: 0 / 487.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.1757, allocations: 0.7466 MB / 488.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1758, allocations: 116.6 kB / 488.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.1759, allocations: 16.23 kB / 488.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1761, allocations: 19.98 kB / 488.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.1762, allocations: 27.91 kB / 488.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1762, allocations: 12 kB / 488.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.1766, allocations: 271.1 kB / 488.8 MB, free: 9.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1766, allocations: 0 / 488.8 MB, free: 9.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.1771, allocations: 116 kB / 488.9 MB, free: 9.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.1773, allocations: 123.2 kB / 489 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.1788, allocations: 0.791 MB / 489.8 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1788, allocations: 0 / 489.8 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.1791, allocations: 207.6 kB / 490 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.1797, allocations: 74.14 kB / 490.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.1833, allocations: 1.825 MB / 491.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.1838, allocations: 0.8901 MB / 492.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.184, allocations: 55.36 kB / 492.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.184, allocations: 0 / 492.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of Templates: time 0.01078/0.1948, allocations: 7.822 MB / 0.489 GB, free: 13.67 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.o] Error 1