Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,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.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,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.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008702, allocations: 92.94 kB / 17.31 MB, free: 5.59 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.000968/0.0009681, allocations: 183.2 kB / 18.21 MB, free: 5.191 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.369/1.369, allocations: 223.2 MB / 242.2 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1743/0.1743, allocations: 38.09 MB / 331.5 MB, free: 8.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003107, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 59.16 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005713/0.1307, allocations: 4.682 MB / 465.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1335, allocations: 1.601 MB / 466.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.1338, allocations: 19.88 kB / 466.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.134, allocations: 63.48 kB / 466.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006191/0.1346, allocations: 235.1 kB / 467.1 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.1352, allocations: 215.5 kB / 467.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008344/0.1361, allocations: 0.8655 MB / 468.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.137, allocations: 0.5436 MB / 468.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.1373, allocations: 203.1 kB / 468.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.1378, allocations: 347 kB / 469.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.1378, allocations: 28 kB / 469.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.1383, allocations: 235.5 kB / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.1385, allocations: 227.4 kB / 469.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.1388, allocations: 252.5 kB / 470 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.1392, allocations: 498.8 kB / 470.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1393, allocations: 0 / 470.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.808e-06/0.1393, allocations: 0 / 470.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1393, allocations: 7.938 kB / 470.5 MB, free: 13.01 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001289/0.1406, allocations: 0.6882 MB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1406, allocations: 8.031 kB / 471.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.1412, allocations: 92.22 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/0.1419, allocations: 407.2 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.142, allocations: 29.38 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.1421, allocations: 52.09 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.1431, allocations: 0.6765 MB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1431, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.1432, allocations: 12 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.1434, allocations: 56.95 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.1444, allocations: 0.6713 MB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.1481, allocations: 2.528 MB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.1487, allocations: 333.3 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.149, allocations: 226 kB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.149, allocations: 11.98 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1491, allocations: 38.5 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.475e-06/0.1491, allocations: 4 kB / 476.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002137/0.1512, allocations: 1.345 MB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1513, allocations: 93.22 kB / 477.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1516, allocations: 300.4 kB / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1517, allocations: 33.7 kB / 478.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1519, allocations: 251.6 kB / 478.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.152, allocations: 153.8 kB / 478.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.1521, allocations: 49.69 kB / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1522, allocations: 346.8 kB / 478.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.1525, allocations: 201 kB / 479 MB, free: 4.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.153, allocations: 373 kB / 479.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.1537, allocations: 0.6021 MB / 480 MB, free: 2.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1537, allocations: 4 kB / 480 MB, free: 2.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001159/0.1549, allocations: 0.6272 MB / 480.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.1549, allocations: 22.42 kB / 480.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1549, allocations: 4 kB / 480.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.402e-05/0.155, allocations: 8 kB / 480.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.1555, allocations: 107.8 kB / 480.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.1555, allocations: 11.94 kB / 480.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1558, allocations: 27.97 kB / 480.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.1558, allocations: 23.98 kB / 480.8 MB, free: 2.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0002601/0.1561, allocations: 217.6 kB / 481.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.1562, allocations: 43.47 kB / 481.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.157, allocations: 492.4 kB / 481.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.157, allocations: 12 kB / 481.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.157, allocations: 0 / 481.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.157, allocations: 3.984 kB / 481.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.1591, allocations: 1.105 MB / 482.7 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1591, allocations: 0 / 482.7 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.1594, allocations: 71.89 kB / 482.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1594, allocations: 4 kB / 482.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.1595, allocations: 8 kB / 482.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.1595, allocations: 7.984 kB / 482.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1595, allocations: 0 / 482.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1605, allocations: 0.8357 MB / 483.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.1606, allocations: 112.7 kB / 483.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.1607, allocations: 8 kB / 483.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.1609, allocations: 11.98 kB / 483.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.161, allocations: 31.91 kB / 483.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.161, allocations: 15.98 kB / 483.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.1613, allocations: 215 kB / 484 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1613, allocations: 0 / 484 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.1618, allocations: 108 kB / 484.1 MB, free: 14.7 MB / 366.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0002337/0.162, allocations: 139 kB / 484.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.1627, allocations: 492.3 kB / 484.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1627, allocations: 4 kB / 484.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.163, allocations: 229.1 kB / 485 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.1636, allocations: 61.31 kB / 485 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1654, allocations: 1.438 MB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.1659, allocations: 0.8704 MB / 487.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.1662, allocations: 35.44 kB / 487.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1662, allocations: 7.938 kB / 487.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of Templates: time 0.008011/0.1742, allocations: 5.438 MB / 492.8 MB, free: 5.934 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchronCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.o] Error 1