Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi|generator1.p.1.|generator1.p.2.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi|generator1.p.1.|generator1.p.2.|generator1.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.0009339, allocations: 92.77 kB / 17.31 MB, free: 6.023 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.001132/0.001132, allocations: 174.8 kB / 18.21 MB, free: 5.41 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.442/1.442, allocations: 223.3 MB / 242.2 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2071/0.2071, allocations: 38.1 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 11.94 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 59.16 MB / 460.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005399/0.1228, allocations: 4.954 MB / 465.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1263, allocations: 2.579 MB / 468.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.1266, allocations: 19.88 kB / 468.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1269, allocations: 71.53 kB / 468.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.128, allocations: 486.3 kB / 468.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.1287, allocations: 251.4 kB / 468.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1297, allocations: 1.126 MB / 470 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.1307, allocations: 0.5827 MB / 470.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.1311, allocations: 254.8 kB / 470.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.1315, allocations: 318.8 kB / 471.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1316, allocations: 24 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1328, allocations: 0.7638 MB / 471.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.133, allocations: 179.4 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1333, allocations: 244.5 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.1339, allocations: 0.5611 MB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1339, allocations: 0 / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.134, allocations: 4 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.134, allocations: 0 / 472.9 MB, free: 10.62 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001066/0.135, allocations: 0.6904 MB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1351, allocations: 12.03 kB / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1367, allocations: 208 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.1372, allocations: 354.4 kB / 474.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.1373, allocations: 33.36 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.1374, allocations: 40.38 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.1383, allocations: 0.6305 MB / 474.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1383, allocations: 3.906 kB / 474.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.1384, allocations: 23.97 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.1385, allocations: 36.98 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.1393, allocations: 0.605 MB / 475.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.1424, allocations: 2.265 MB / 477.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.143, allocations: 484.8 kB / 478.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.1434, allocations: 237.7 kB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.1434, allocations: 11.92 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1435, allocations: 38.56 kB / 478.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.1435, allocations: 4 kB / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003563/0.147, allocations: 1.709 MB / 480.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.1471, allocations: 89.23 kB / 480.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.1474, allocations: 282.9 kB / 480.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1475, allocations: 33.64 kB / 480.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1476, allocations: 228 kB / 480.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1477, allocations: 145.8 kB / 481 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.1478, allocations: 49.69 kB / 481.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.148, allocations: 350.7 kB / 481.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.1482, allocations: 173 kB / 481.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.1486, allocations: 294.3 kB / 481.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.1492, allocations: 0.5044 MB / 482.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1493, allocations: 0 / 482.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001156/0.1504, allocations: 0.6808 MB / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1505, allocations: 8 kB / 483.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1505, allocations: 0 / 483.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.151, allocations: 177.2 kB / 483.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.1514, allocations: 91.88 kB / 483.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.1547, allocations: 2.538 MB / 485.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.155, allocations: 23.98 kB / 485.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.1551, allocations: 23.98 kB / 485.9 MB, free: 12.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.1553, allocations: 197.6 kB / 486.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.1554, allocations: 43.53 kB / 486.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1566, allocations: 0.6297 MB / 486.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.1566, allocations: 8 kB / 486.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.1566, allocations: 0 / 486.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1566, allocations: 7.984 kB / 486.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.1587, allocations: 1.355 MB / 488.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1587, allocations: 0 / 488.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.1591, allocations: 79.89 kB / 488.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.1595, allocations: 136.7 kB / 488.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.1596, allocations: 15.98 kB / 488.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.1623, allocations: 2.315 MB / 490.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1623, allocations: 4 kB / 490.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1637, allocations: 0.9569 MB / 491.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1639, allocations: 120.7 kB / 491.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.1639, allocations: 4 kB / 491.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1641, allocations: 19.98 kB / 491.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.1642, allocations: 36 kB / 491.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.1643, allocations: 11.94 kB / 491.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.1645, allocations: 205.9 kB / 492 MB, free: 6.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1645, allocations: 192 / 492 MB, free: 6.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006806/0.1652, allocations: 136 kB / 492.2 MB, free: 6.414 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.1653, allocations: 119.1 kB / 492.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.1667, allocations: 0.6694 MB / 493 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1667, allocations: 0 / 493 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.1674, allocations: 418.3 kB / 493.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.168, allocations: 61.11 kB / 493.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.1699, allocations: 1.459 MB / 494.9 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1704, allocations: 0.871 MB / 495.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1706, allocations: 31.44 kB / 495.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1706, allocations: 0 / 495.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of Templates: time 0.01011/0.1807, allocations: 6.827 MB / 0.4908 GB, free: 11.86 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Generic.Test.GeneratorTest2CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o] Error 1