Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009722/0.0009722, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 13.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1605/0.1605, allocations: 38.03 MB / 329.9 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 60.02 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 58.06 MB / 456.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006499/0.1349, allocations: 5.061 MB / 461.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.1379, allocations: 1.632 MB / 463.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.1382, allocations: 23.88 kB / 463.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1394, allocations: 358.6 kB / 463.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.1399, allocations: 203.2 kB / 464.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.1405, allocations: 223.5 kB / 464.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.1413, allocations: 0.8148 MB / 465.1 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.1418, allocations: 276.6 kB / 465.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.142, allocations: 203.1 kB / 465.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.1425, allocations: 315 kB / 465.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1426, allocations: 24 kB / 465.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.1429, allocations: 147.7 kB / 466 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.1431, allocations: 219.5 kB / 466.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1433, allocations: 218.9 kB / 466.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.1438, allocations: 431 kB / 466.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1438, allocations: 3.938 kB / 466.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1438, allocations: 0 / 466.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1438, allocations: 0 / 466.9 MB, free: 14.39 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001364/0.1452, allocations: 0.7453 MB / 467.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1452, allocations: 8.031 kB / 467.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.1457, allocations: 80.33 kB / 467.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.1464, allocations: 391.2 kB / 468.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.1464, allocations: 29.38 kB / 468.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1465, allocations: 48.11 kB / 468.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.1474, allocations: 0.6248 MB / 468.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1474, allocations: 0 / 468.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.1475, allocations: 16 kB / 468.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.1476, allocations: 32.98 kB / 468.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.1483, allocations: 483.5 kB / 469.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.1515, allocations: 2.891 MB / 472.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1519, allocations: 233 kB / 472.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1521, allocations: 145.7 kB / 472.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1522, allocations: 11.98 kB / 472.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1522, allocations: 42.55 kB / 472.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.452e-06/0.1522, allocations: 0 / 472.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001643/0.1539, allocations: 0.963 MB / 473.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.1539, allocations: 85.05 kB / 473.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.1543, allocations: 324.5 kB / 474 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1543, allocations: 29.7 kB / 474 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1545, allocations: 275.2 kB / 474.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.1546, allocations: 102.5 kB / 474.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1548, allocations: 94.16 kB / 474.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1549, allocations: 346.7 kB / 474.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.1552, allocations: 145 kB / 475 MB, free: 5.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.1556, allocations: 347.2 kB / 475.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.1562, allocations: 0.5287 MB / 475.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1562, allocations: 0 / 475.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007791/0.157, allocations: 0.5242 MB / 476.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1571, allocations: 8 kB / 476.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1571, allocations: 8 kB / 476.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.1571, allocations: 12 kB / 476.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1575, allocations: 119.8 kB / 476.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.1575, allocations: 16.53 kB / 476.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.1578, allocations: 27.98 kB / 476.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1578, allocations: 20 kB / 476.6 MB, free: 4.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.1581, allocations: 217.5 kB / 476.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.1581, allocations: 31.62 kB / 476.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.1587, allocations: 361.6 kB / 477.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1588, allocations: 4 kB / 477.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1588, allocations: 4 kB / 477.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1588, allocations: 4 kB / 477.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.1601, allocations: 0.8911 MB / 478.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.1601, allocations: 8 kB / 478.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.1604, allocations: 59.91 kB / 478.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1604, allocations: 12.02 kB / 478.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.1605, allocations: 12 kB / 478.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1605, allocations: 3.938 kB / 478.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1605, allocations: 4 kB / 478.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008756/0.1614, allocations: 0.5847 MB / 478.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.1615, allocations: 104.7 kB / 478.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.1615, allocations: 8 kB / 478.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1617, allocations: 15.97 kB / 478.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.1618, allocations: 19.97 kB / 478.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.1618, allocations: 12 kB / 478.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.162, allocations: 219 kB / 479.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.162, allocations: 4 kB / 479.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.1624, allocations: 88 kB / 479.2 MB, free: 1.285 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (31): * Single equations (assignments): 30 * 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.0001266/0.1625, allocations: 111.2 kB / 479.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.1631, allocations: 361.2 kB / 479.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1631, allocations: 0 / 479.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.1633, allocations: 147.9 kB / 479.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.1638, allocations: 66.92 kB / 479.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1655, allocations: 1.224 MB / 481.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.166, allocations: 0.8584 MB / 482 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1661, allocations: 35.44 kB / 482 MB, free: 14.42 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1661, allocations: 4 kB / 482 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Templates: time 0.007066/0.1732, allocations: 4.907 MB / 486.9 MB, free: 9.516 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.Introductory.ReferenceInertialCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertialCalcHelperMain.o] Error 1