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.000739/0.000739, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.0007902/0.0007902, allocations: 178.9 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.458/1.458, allocations: 223.3 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1863/0.1863, allocations: 38.09 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 8 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 59.16 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007053/0.123, allocations: 5.815 MB / 466.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.1301, allocations: 4.469 MB / 470.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.1308, allocations: 35.75 kB / 470.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008535/0.1394, allocations: 4.579 MB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1405, allocations: 334.5 kB / 475.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.1412, allocations: 219.7 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1437, allocations: 2.136 MB / 478.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.1448, allocations: 0.5395 MB / 478.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/0.1453, allocations: 306.7 kB / 478.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.146, allocations: 454.3 kB / 479.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.1461, allocations: 24 kB / 479.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.1463, allocations: 107.8 kB / 479.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.1466, allocations: 259.2 kB / 479.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.1469, allocations: 316.1 kB / 480.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.1475, allocations: 0.5533 MB / 480.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1475, allocations: 0 / 480.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1475, allocations: 0 / 480.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1475, allocations: 4 kB / 480.6 MB, free: 2.84 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.00159/0.1491, allocations: 0.7928 MB / 481.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1492, allocations: 8.031 kB / 481.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/0.1496, allocations: 104 kB / 481.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/0.1506, allocations: 0.5293 MB / 482.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.1506, allocations: 33 kB / 482.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.1507, allocations: 55.97 kB / 482.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.1517, allocations: 0.6453 MB / 482.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.1518, allocations: 3.938 kB / 482.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.1518, allocations: 23.98 kB / 482.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.152, allocations: 48.95 kB / 482.9 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.1528, allocations: 495.7 kB / 483.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.1563, allocations: 2.55 MB / 485.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.1568, allocations: 314.7 kB / 486.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.1571, allocations: 183.1 kB / 486.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1571, allocations: 8 kB / 486.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1572, allocations: 46.48 kB / 486.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.324e-06/0.1572, allocations: 0 / 486.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002452/0.1596, allocations: 1.613 MB / 488.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.1597, allocations: 111 kB / 488.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.1603, allocations: 425.8 kB / 488.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1603, allocations: 37.64 kB / 488.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1605, allocations: 307.6 kB / 488.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.1607, allocations: 126.2 kB / 489 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.1607, allocations: 45.7 kB / 489.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.161, allocations: 362.7 kB / 489.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1613, allocations: 165 kB / 489.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.1616, allocations: 301.8 kB / 489.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.1623, allocations: 487.7 kB / 490.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1623, allocations: 0 / 490.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001346/0.1636, allocations: 0.8031 MB / 491.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.1637, allocations: 8 kB / 491.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1637, allocations: 7.938 kB / 491.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.1643, allocations: 205.8 kB / 491.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.1647, allocations: 83.81 kB / 491.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.1691, allocations: 3.893 MB / 495.4 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.1695, allocations: 23.98 kB / 495.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.1695, allocations: 16 kB / 495.4 MB, free: 3.141 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.0003501/0.1699, allocations: 225.7 kB / 495.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.17, allocations: 51.38 kB / 495.7 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009774/0.1709, allocations: 0.634 MB / 496.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.171, allocations: 4 kB / 496.3 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.171, allocations: 4 kB / 496.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.171, allocations: 3.984 kB / 496.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.1727, allocations: 1.199 MB / 497.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1727, allocations: 0 / 497.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.1732, allocations: 75.89 kB / 497.6 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.1734, allocations: 49.67 kB / 497.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.1734, allocations: 20 kB / 497.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.1754, allocations: 2.638 MB / 0.4886 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1754, allocations: 3.938 kB / 0.4886 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1766, allocations: 0.953 MB / 0.4895 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.1768, allocations: 144.4 kB / 0.4896 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.1768, allocations: 12 kB / 0.4897 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1771, allocations: 15.98 kB / 0.4897 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.1772, allocations: 23.97 kB / 0.4897 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1772, allocations: 11.98 kB / 0.4897 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.1776, allocations: 299.1 kB / 0.49 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1776, allocations: 0 / 0.49 GB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006565/0.1782, allocations: 128 kB / 0.4901 GB, free: 12.14 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.0001648/0.1784, allocations: 117.4 kB / 0.4902 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.1797, allocations: 0.7282 MB / 0.4909 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1798, allocations: 0 / 0.4909 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.1803, allocations: 430.2 kB / 0.4913 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.1811, allocations: 101.9 kB / 0.4914 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.1837, allocations: 1.911 MB / 0.4933 GB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.1843, allocations: 0.9444 MB / 0.4942 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.1844, allocations: 35.44 kB / 0.4943 GB, free: 7.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1844, allocations: 0 / 0.4943 GB, free: 7.758 MB / 382.1 MB Notification: Performance of Templates: time 0.24/0.4244, allocations: 11.2 MB / 0.5052 GB, free: 55.46 MB / 382.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