Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 96.23 kB / 16.96 MB, free: 6.457 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.0008949/0.0008951, allocations: 179.1 kB / 17.84 MB, free: 5.992 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.39/1.39, allocations: 223.3 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1868/0.1868, allocations: 38.09 MB / 331.1 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 9.281 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 59.17 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00689/0.125, allocations: 6.52 MB / 466.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003634/0.1287, allocations: 2.206 MB / 468.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.1292, allocations: 47.69 kB / 468.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1295, allocations: 142.9 kB / 468.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009982/0.1305, allocations: 441.8 kB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1317, allocations: 395.2 kB / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1328, allocations: 1.15 MB / 470.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.134, allocations: 0.7807 MB / 471.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.1346, allocations: 342.5 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.1352, allocations: 0.5258 MB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.1353, allocations: 32 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.1356, allocations: 151.8 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.136, allocations: 399.1 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.1362, allocations: 169.3 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.1369, allocations: 0.7559 MB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1369, allocations: 0 / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1369, allocations: 0 / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1369, allocations: 0 / 473.9 MB, free: 9.332 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001411/0.1383, allocations: 0.9351 MB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1384, allocations: 8.031 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/0.139, allocations: 138.9 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.1397, allocations: 0.5038 MB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.1398, allocations: 58 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.1399, allocations: 72 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.1413, allocations: 1.13 MB / 476.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1414, allocations: 4 kB / 476.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.1414, allocations: 32 kB / 476.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.1415, allocations: 49.92 kB / 476.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.1427, allocations: 0.8585 MB / 477.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.1478, allocations: 5.071 MB / 482.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.1484, allocations: 412.9 kB / 483.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.1487, allocations: 209.7 kB / 483.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.1488, allocations: 11.98 kB / 483.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1488, allocations: 34.56 kB / 483.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.1488, allocations: 0 / 483.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001646/0.1505, allocations: 1.079 MB / 484.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1505, allocations: 85.11 kB / 484.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.151, allocations: 497.8 kB / 485 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.151, allocations: 33.7 kB / 485.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1513, allocations: 453.8 kB / 485.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1514, allocations: 149.8 kB / 485.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1515, allocations: 16 kB / 485.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1516, allocations: 370.8 kB / 486 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.152, allocations: 241.8 kB / 486.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.1526, allocations: 0.6092 MB / 486.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.1531, allocations: 365.3 kB / 487.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1531, allocations: 4 kB / 487.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001158/0.1543, allocations: 0.8917 MB / 488.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1543, allocations: 8 kB / 488.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.1544, allocations: 24.78 kB / 488.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.1544, allocations: 20 kB / 488.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.1551, allocations: 223.6 kB / 488.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-05/0.1551, allocations: 31.86 kB / 488.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.1555, allocations: 51.95 kB / 488.5 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.1555, allocations: 36 kB / 488.5 MB, free: 9.969 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.0003233/0.1559, allocations: 309.3 kB / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.1559, allocations: 51.34 kB / 488.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.1568, allocations: 0.5641 MB / 489.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1568, allocations: 4 kB / 489.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1568, allocations: 4 kB / 489.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1568, allocations: 7.969 kB / 489.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.1586, allocations: 1.324 MB / 490.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1587, allocations: 0 / 490.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.1591, allocations: 116.1 kB / 490.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.1591, allocations: 4 kB / 490.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.1591, allocations: 27.88 kB / 490.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1591, allocations: 4 kB / 490.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1591, allocations: 4 kB / 490.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.1599, allocations: 0.634 MB / 491.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.16, allocations: 124.4 kB / 491.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.16, allocations: 16 kB / 491.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.1603, allocations: 31.92 kB / 491.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1603, allocations: 31.95 kB / 491.8 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.1604, allocations: 16 kB / 491.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.1607, allocations: 326.8 kB / 492.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1607, allocations: 0 / 492.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006094/0.1613, allocations: 164 kB / 492.2 MB, free: 6.074 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001224/0.1615, allocations: 119.1 kB / 492.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.1623, allocations: 0.5871 MB / 492.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1623, allocations: 4 kB / 493 MB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.1626, allocations: 239.4 kB / 493.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.1632, allocations: 111.1 kB / 493.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1653, allocations: 1.717 MB / 495 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.1659, allocations: 0.9921 MB / 496 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.1661, allocations: 59.42 kB / 496.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1661, allocations: 4 kB / 496.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of Templates: time 0.01117/0.1772, allocations: 8.15 MB / 0.4924 GB, free: 10.01 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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_latest_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.o] Error 1