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.001021/0.001021, allocations: 92.23 kB / 16.95 MB, free: 5.953 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.001105/0.001105, allocations: 177.4 kB / 17.84 MB, free: 5.617 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.397/1.397, allocations: 223.2 MB / 241.8 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1631/0.1631, allocations: 38.09 MB / 331.1 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 59.17 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006354/0.1309, allocations: 5.523 MB / 465.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.1378, allocations: 4.113 MB / 469.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.1385, allocations: 35.75 kB / 469.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008497/0.147, allocations: 4.386 MB / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.1483, allocations: 382.1 kB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.149, allocations: 227.6 kB / 474.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.1512, allocations: 1.816 MB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.152, allocations: 0.4907 MB / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.1524, allocations: 310.7 kB / 477.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.153, allocations: 434.5 kB / 477.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.1531, allocations: 27.94 kB / 477.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.1533, allocations: 75.88 kB / 477.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1535, allocations: 247.3 kB / 477.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1537, allocations: 133.4 kB / 478 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.1542, allocations: 0.5649 MB / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1542, allocations: 0 / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1542, allocations: 0 / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.1543, allocations: 4 kB / 478.6 MB, free: 4.594 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.001516/0.1558, allocations: 0.7887 MB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1558, allocations: 12.03 kB / 479.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.1563, allocations: 99.11 kB / 479.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/0.1572, allocations: 0.5132 MB / 480 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1572, allocations: 32.98 kB / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.1573, allocations: 51.98 kB / 480.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.1583, allocations: 0.6491 MB / 480.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1583, allocations: 0 / 480.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.1583, allocations: 16 kB / 480.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.1585, allocations: 52.95 kB / 480.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.1592, allocations: 491.5 kB / 481.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.1625, allocations: 2.543 MB / 483.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.163, allocations: 311.7 kB / 484.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.1633, allocations: 183 kB / 484.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1633, allocations: 0 / 484.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1634, allocations: 54.44 kB / 484.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.384e-06/0.1634, allocations: 0 / 484.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002596/0.166, allocations: 1.633 MB / 486 MB, free: 12.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.1661, allocations: 114.8 kB / 486.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.1665, allocations: 417.9 kB / 486.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.1666, allocations: 29.7 kB / 486.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.1668, allocations: 315.5 kB / 486.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.1669, allocations: 114.3 kB / 487 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.167, allocations: 12 kB / 487 MB, free: 11.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1671, allocations: 362.7 kB / 487.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1674, allocations: 169 kB / 487.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.1678, allocations: 301.8 kB / 487.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.1681, allocations: 207.6 kB / 488 MB, free: 10.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1681, allocations: 0 / 488 MB, free: 10.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001274/0.1694, allocations: 0.7955 MB / 488.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1694, allocations: 8.375 kB / 488.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1694, allocations: 8 kB / 488.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.1701, allocations: 221.4 kB / 489 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1704, allocations: 71.89 kB / 489.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/0.1754, allocations: 3.873 MB / 493 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.1758, allocations: 23.94 kB / 493 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1758, allocations: 16 kB / 493 MB, free: 5.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.1762, allocations: 225.7 kB / 493.2 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.1763, allocations: 43.44 kB / 493.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.1773, allocations: 0.6456 MB / 493.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1773, allocations: 7.938 kB / 493.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1774, allocations: 7.984 kB / 493.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1774, allocations: 0 / 493.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.1791, allocations: 1.187 MB / 495.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.1791, allocations: 8 kB / 495.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.1795, allocations: 67.89 kB / 495.2 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.1796, allocations: 61.73 kB / 495.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1797, allocations: 8 kB / 495.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.1816, allocations: 2.634 MB / 497.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.1816, allocations: 4.031 kB / 497.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1827, allocations: 0.9568 MB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.1829, allocations: 144.4 kB / 499 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.183, allocations: 11.95 kB / 499 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.1832, allocations: 19.98 kB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.1833, allocations: 27.89 kB / 499.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1833, allocations: 15.98 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003188/0.1836, allocations: 291.1 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1837, allocations: 0 / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.1843, allocations: 132 kB / 499.5 MB, free: 14.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.1844, allocations: 107.2 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.1857, allocations: 0.7085 MB / 0.4886 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1857, allocations: 4.75 kB / 0.4886 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.1862, allocations: 421.3 kB / 0.489 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.187, allocations: 109.9 kB / 0.4891 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1896, allocations: 1.868 MB / 0.4909 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.1902, allocations: 0.9405 MB / 0.4918 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.1903, allocations: 43.42 kB / 0.4919 GB, free: 9.996 MB / 382.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1903, allocations: 0 / 0.4919 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Templates: time 0.2144/0.4048, allocations: 11.19 MB / 0.5028 GB, free: 55.82 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++ 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.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