Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009971, 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.001032/0.001032, 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1643/0.1643, allocations: 38.04 MB / 329.9 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 56.28 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 58.06 MB / 456.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007814/0.1238, allocations: 6.221 MB / 463 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006838/0.1306, allocations: 4.562 MB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008187/0.1315, allocations: 35.75 kB / 467.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.1434, allocations: 4.749 MB / 472.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.1445, allocations: 322.6 kB / 472.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.1453, allocations: 227.7 kB / 472.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.1478, allocations: 2.144 MB / 475 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.1485, allocations: 336.2 kB / 475.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006049/0.1492, allocations: 318.7 kB / 475.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.15, allocations: 474.3 kB / 476.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1501, allocations: 28 kB / 476.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.1505, allocations: 123.8 kB / 476.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.1508, allocations: 263.2 kB / 476.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.1513, allocations: 306.4 kB / 476.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.1519, allocations: 0.5651 MB / 477.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1519, allocations: 0 / 477.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1519, allocations: 0 / 477.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.1519, allocations: 0 / 477.4 MB, free: 3.82 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001866/0.1538, allocations: 0.9086 MB / 478.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1539, allocations: 16.02 kB / 478.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.1543, allocations: 92 kB / 478.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1554, allocations: 0.537 MB / 479 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1555, allocations: 33 kB / 479 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.1556, allocations: 59.97 kB / 479.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1566, allocations: 0.6414 MB / 479.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.1567, allocations: 3.938 kB / 479.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.1568, allocations: 24 kB / 479.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.1569, allocations: 44.97 kB / 479.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000806/0.1578, allocations: 495.6 kB / 480.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.1615, allocations: 2.539 MB / 482.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.162, allocations: 315.6 kB / 483.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1623, allocations: 183 kB / 483.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1624, allocations: 11.98 kB / 483.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1624, allocations: 42.5 kB / 483.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.1624, allocations: 0 / 483.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002966/0.1654, allocations: 1.618 MB / 485 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.1655, allocations: 111 kB / 485.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.1659, allocations: 425.8 kB / 485.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.166, allocations: 29.7 kB / 485.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1662, allocations: 311.6 kB / 485.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1663, allocations: 114.3 kB / 485.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1665, allocations: 94.14 kB / 486 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1666, allocations: 366.7 kB / 486.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.1669, allocations: 165 kB / 486.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.1673, allocations: 297.8 kB / 486.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.168, allocations: 491.7 kB / 487.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.168, allocations: 4 kB / 487.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001343/0.1694, allocations: 0.7991 MB / 488.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1694, allocations: 8 kB / 488.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1694, allocations: 8.344 kB / 488.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.1701, allocations: 213.5 kB / 488.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.1704, allocations: 79.83 kB / 488.4 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.1749, allocations: 3.883 MB / 492.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.1752, allocations: 23.98 kB / 492.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.1752, allocations: 16 kB / 492.3 MB, free: 3.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.1756, allocations: 229.7 kB / 492.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1757, allocations: 51.36 kB / 492.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000949/0.1767, allocations: 0.638 MB / 493.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1767, allocations: 4 kB / 493.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1767, allocations: 0 / 493.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1767, allocations: 0 / 493.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1785, allocations: 1.206 MB / 494.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1785, allocations: 0 / 494.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.1789, allocations: 75.95 kB / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.1791, allocations: 57.67 kB / 494.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.1791, allocations: 15.98 kB / 494.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.1813, allocations: 2.626 MB / 497.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1813, allocations: 0 / 497.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1824, allocations: 0.9568 MB / 498.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1826, allocations: 140.5 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.1826, allocations: 15.98 kB / 498.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.1829, allocations: 8 kB / 498.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.183, allocations: 31.95 kB / 498.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.183, allocations: 8 kB / 498.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.1833, allocations: 299.1 kB / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1833, allocations: 0 / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.1839, allocations: 128 kB / 498.8 MB, free: 12.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.1841, allocations: 118.2 kB / 498.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.1853, allocations: 0.7321 MB / 499.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1853, allocations: 0 / 499.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.1859, allocations: 422.1 kB / 0.4883 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.1867, allocations: 110 kB / 0.4884 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1894, allocations: 1.754 MB / 0.4902 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/0.1902, allocations: 0.9483 MB / 0.4911 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.1904, allocations: 39.44 kB / 0.4911 GB, free: 8.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1904, allocations: 0 / 0.4911 GB, free: 8.746 MB / 382.1 MB Notification: Performance of Templates: time 0.01545/0.2058, allocations: 11.27 MB / 0.5021 GB, free: 13.49 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.MachinesCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.o] Error 1