Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.primaryControl.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.primaryControl.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 95.3 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.001233/0.001233, allocations: 177.7 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.332/1.332, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1686/0.1686, allocations: 38.09 MB / 331.1 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 59.17 MB / 459.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005519/0.1176, allocations: 5.098 MB / 465 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.1213, allocations: 2.223 MB / 467.2 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.1221, allocations: 35.81 kB / 467.2 MB, free: 52 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.1227, allocations: 107.2 kB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009755/0.1237, allocations: 290.4 kB / 467.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1248, allocations: 362.5 kB / 468 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1259, allocations: 0.9833 MB / 469 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.127, allocations: 0.6235 MB / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.1275, allocations: 298.5 kB / 469.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.1279, allocations: 314.4 kB / 470.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.128, allocations: 24 kB / 470.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.1284, allocations: 171.5 kB / 470.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1286, allocations: 147.4 kB / 470.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1287, allocations: 153.3 kB / 470.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007205/0.1294, allocations: 0.7832 MB / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1295, allocations: 0 / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1295, allocations: 0 / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1295, allocations: 0 / 471.4 MB, free: 11.77 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001762/0.1313, allocations: 0.9971 MB / 472.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1313, allocations: 12.03 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.1321, allocations: 154.9 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.133, allocations: 0.557 MB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.1331, allocations: 49.25 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1332, allocations: 67.86 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1345, allocations: 0.76 MB / 474 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1345, allocations: 3.938 kB / 474 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.1346, allocations: 28 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.1346, allocations: 33.3 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1358, allocations: 0.6414 MB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/0.1396, allocations: 2.926 MB / 477.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.1409, allocations: 0.7312 MB / 478.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.1414, allocations: 239 kB / 478.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.1414, allocations: 4.438 kB / 478.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1415, allocations: 43 kB / 478.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.1415, allocations: 0 / 478.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001472/0.1429, allocations: 0.7332 MB / 479.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.143, allocations: 111.2 kB / 479.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007633/0.1438, allocations: 0.5783 MB / 480.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.1438, allocations: 33.7 kB / 480.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1441, allocations: 348.4 kB / 480.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1443, allocations: 185.4 kB / 480.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1443, allocations: 12 kB / 480.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1445, allocations: 374.7 kB / 481 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.1449, allocations: 221 kB / 481.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.1454, allocations: 344.5 kB / 481.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1459, allocations: 252.7 kB / 481.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1459, allocations: 4 kB / 481.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001592/0.1475, allocations: 0.812 MB / 482.6 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.1477, allocations: 196 kB / 482.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1477, allocations: 4.094 kB / 482.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004553/0.1481, allocations: 156.6 kB / 483 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.1487, allocations: 131.8 kB / 483.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.1514, allocations: 2.253 MB / 485.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.1518, allocations: 83.34 kB / 485.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.1519, allocations: 24 kB / 485.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.1519, allocations: 6.406 kB / 485.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/0.1531, allocations: 0.6237 MB / 486.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1531, allocations: 4 kB / 486.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.1533, allocations: 109.2 kB / 486.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.1539, allocations: 131.8 kB / 486.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.1558, allocations: 2.011 MB / 488.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.1562, allocations: 79.41 kB / 488.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.1563, allocations: 20 kB / 488.5 MB, free: 10 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003882/0.1567, allocations: 305 kB / 488.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1568, allocations: 71.11 kB / 488.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.1579, allocations: 0.5733 MB / 489.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1579, allocations: 8 kB / 489.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.158, allocations: 0 / 489.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.158, allocations: 4.094 kB / 489.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.1599, allocations: 1.341 MB / 490.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1599, allocations: 7.984 kB / 490.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.1604, allocations: 115.9 kB / 490.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.1605, allocations: 0 / 490.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.1605, allocations: 8 kB / 490.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1605, allocations: 4 kB / 490.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1605, allocations: 3.984 kB / 490.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.162, allocations: 0.9405 MB / 491.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.1622, allocations: 200.1 kB / 492 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.1623, allocations: 12.19 kB / 492 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.1626, allocations: 39.97 kB / 492.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.1627, allocations: 40.31 kB / 492.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.1628, allocations: 16 kB / 492.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005591/0.1633, allocations: 423 kB / 492.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1634, allocations: 0 / 492.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008778/0.1642, allocations: 263.2 kB / 492.8 MB, free: 5.551 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * 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 (50): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.1644, allocations: 111.2 kB / 492.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.1663, allocations: 1.111 MB / 494 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1663, allocations: 0 / 494 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.1668, allocations: 262.5 kB / 494.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.1675, allocations: 134.1 kB / 494.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.1709, allocations: 1.844 MB / 496.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1715, allocations: 0.9382 MB / 497.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.1717, allocations: 51.42 kB / 497.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1717, allocations: 0 / 497.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of Templates: time 0.01272/0.1844, allocations: 9.668 MB / 0.495 GB, free: 7.359 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerWorld.Test.PowerPlantTest1CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.o] Error 1