Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 93.31 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.001299/0.001299, allocations: 175.5 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.488/1.488, allocations: 223.2 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1848/0.1848, allocations: 38.09 MB / 331.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 9.281 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 59.16 MB / 460.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007217/0.1389, allocations: 6.073 MB / 466.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005161/0.1441, allocations: 2.856 MB / 469.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.1449, allocations: 39.75 kB / 469.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004996/0.1454, allocations: 115.1 kB / 469.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.1465, allocations: 430.2 kB / 470 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1478, allocations: 0.5064 MB / 470.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1492, allocations: 1.393 MB / 471.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.1506, allocations: 0.8487 MB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.1511, allocations: 350.2 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.1517, allocations: 417.9 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.1517, allocations: 28 kB / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1528, allocations: 0.5728 MB / 474.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.1531, allocations: 191.3 kB / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.1535, allocations: 387.4 kB / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1547, allocations: 0.9157 MB / 475.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1547, allocations: 0 / 475.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1547, allocations: 0 / 475.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1548, allocations: 0 / 475.6 MB, free: 7.879 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002235/0.157, allocations: 1.064 MB / 476.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.157, allocations: 8.031 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.1584, allocations: 207.6 kB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1595, allocations: 0.6046 MB / 477.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.1596, allocations: 53.69 kB / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1597, allocations: 68.28 kB / 477.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.1614, allocations: 0.9054 MB / 478.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.1614, allocations: 0 / 478.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.1615, allocations: 28 kB / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.1616, allocations: 37.3 kB / 478.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.1632, allocations: 0.8014 MB / 479.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.1683, allocations: 3.292 MB / 482.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.1701, allocations: 0.9877 MB / 483.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.1707, allocations: 319.3 kB / 484 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1708, allocations: 12.55 kB / 484 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.1708, allocations: 43.06 kB / 484 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.1708, allocations: 0 / 484 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.005462/0.1763, allocations: 2.615 MB / 486.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.1764, allocations: 119.3 kB / 486.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/0.1773, allocations: 0.5743 MB / 487.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.1773, allocations: 41.73 kB / 487.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.1777, allocations: 376.1 kB / 487.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.1779, allocations: 212.9 kB / 487.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.178, allocations: 69.61 kB / 488 MB, free: 10.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.1782, allocations: 378.8 kB / 488.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.1788, allocations: 277.8 kB / 488.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/0.1796, allocations: 433.8 kB / 489.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.1809, allocations: 0.7277 MB / 489.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1809, allocations: 0 / 489.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001731/0.1826, allocations: 0.8621 MB / 490.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.1828, allocations: 213 kB / 490.9 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1828, allocations: 4 kB / 490.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.1831, allocations: 60.81 kB / 490.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.1839, allocations: 183.8 kB / 491.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.1857, allocations: 1.621 MB / 492.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.1862, allocations: 56.02 kB / 492.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.1863, allocations: 31.94 kB / 492.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.1863, allocations: 4 kB / 492.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.1878, allocations: 0.7399 MB / 493.6 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1879, allocations: 4 kB / 493.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.1881, allocations: 64.95 kB / 493.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.1888, allocations: 184.1 kB / 493.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.1906, allocations: 1.619 MB / 495.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.1911, allocations: 52.02 kB / 495.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.1912, allocations: 28 kB / 495.5 MB, free: 3.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004803/0.1917, allocations: 316.9 kB / 495.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1918, allocations: 71.09 kB / 495.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.1936, allocations: 0.8075 MB / 496.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1936, allocations: 8 kB / 496.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1936, allocations: 0 / 496.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.1937, allocations: 8.062 kB / 496.7 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.1979, allocations: 2.201 MB / 498.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.1979, allocations: 8 kB / 498.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.1986, allocations: 127.8 kB / 499 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.1988, allocations: 56.81 kB / 499.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.1988, allocations: 27.98 kB / 499.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.2004, allocations: 1.58 MB / 0.489 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.2005, allocations: 16 kB / 0.489 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.203, allocations: 1.361 MB / 0.4903 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.2034, allocations: 200.1 kB / 0.4905 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.2035, allocations: 27.98 kB / 0.4905 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.2041, allocations: 59.89 kB / 0.4906 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.2043, allocations: 67.75 kB / 0.4907 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.2043, allocations: 27.98 kB / 0.4907 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007955/0.2051, allocations: 423 kB / 0.4911 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2051, allocations: 0 / 0.4911 GB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00126/0.2064, allocations: 248 kB / 0.4913 GB, free: 10.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/0.2066, allocations: 140 kB / 0.4915 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.2093, allocations: 1.282 MB / 0.4927 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2093, allocations: 3.938 kB / 0.4927 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009773/0.2103, allocations: 0.4961 MB / 0.4932 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2119, allocations: 164.8 kB / 0.4934 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.2155, allocations: 2.136 MB / 0.4954 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.2163, allocations: 0.99 MB / 0.4964 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.2166, allocations: 59.42 kB / 0.4965 GB, free: 5.535 MB / 382.1 MB Notification: Performance of SimCode: time 1.774e-06/0.2166, allocations: 0 / 0.4965 GB, free: 5.535 MB / 382.1 MB Notification: Performance of Templates: time 0.2419/0.4585, allocations: 12.35 MB / 0.5085 GB, free: 51.32 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.PowerWorld.Test.PowerPlantTest3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.o] Error 1