Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009005/0.0009005, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0008618/0.0008619, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1553/0.1553, allocations: 38 MB / 309.3 MB, free: 6.242 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 63.92 kB / 375.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2025, allocations: 55.25 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.00511/0.2077, allocations: 5.838 MB / 436.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2104, allocations: 2.417 MB / 438.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.2107, allocations: 31.81 kB / 438.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.2115, allocations: 226.8 kB / 439 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.212, allocations: 310.5 kB / 439.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.2127, allocations: 453.6 kB / 439.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.2134, allocations: 1.132 MB / 440.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005996/0.214, allocations: 0.5165 MB / 441.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.2143, allocations: 338.4 kB / 441.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.2146, allocations: 378.1 kB / 442.1 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.2147, allocations: 40 kB / 442.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.2151, allocations: 395.1 kB / 442.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2152, allocations: 175.3 kB / 442.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.2154, allocations: 345.8 kB / 443 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.2159, allocations: 0.8225 MB / 443.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2159, allocations: 0 / 443.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.216, allocations: 0 / 443.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.216, allocations: 0 / 443.9 MB, free: 6.391 MB / 318.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.001585/0.2176, allocations: 1.129 MB / 445 MB, free: 5.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2176, allocations: 12.03 kB / 445 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.2183, allocations: 163.7 kB / 445.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.219, allocations: 0.5851 MB / 445.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.219, allocations: 45.69 kB / 445.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.2191, allocations: 64.36 kB / 445.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.2201, allocations: 0.7564 MB / 446.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2201, allocations: 3.906 kB / 446.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.2202, allocations: 24 kB / 446.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.2202, allocations: 33.31 kB / 446.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.2212, allocations: 0.6257 MB / 447.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.2241, allocations: 2.907 MB / 450.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.2253, allocations: 0.7188 MB / 450.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.2258, allocations: 227 kB / 451.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.2258, allocations: 12.42 kB / 451.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2259, allocations: 39 kB / 451.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/0.2259, allocations: 0 / 451.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.00139/0.2273, allocations: 0.702 MB / 451.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.2274, allocations: 115.2 kB / 452 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.2281, allocations: 0.586 MB / 452.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.2281, allocations: 37.7 kB / 452.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.2283, allocations: 352.4 kB / 453 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2285, allocations: 177.5 kB / 453.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.2286, allocations: 98.25 kB / 453.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2288, allocations: 378.8 kB / 453.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.2292, allocations: 215 kB / 453.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.2297, allocations: 340.5 kB / 454.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.2306, allocations: 0.5529 MB / 454.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2306, allocations: 3.938 kB / 454.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001519/0.2321, allocations: 0.7884 MB / 455.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2322, allocations: 8 kB / 455.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2322, allocations: 4 kB / 455.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/0.2325, allocations: 113 kB / 455.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.2331, allocations: 135.8 kB / 455.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.2355, allocations: 2.206 MB / 458 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.236, allocations: 83.53 kB / 458 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.236, allocations: 20 kB / 458.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005615/0.2366, allocations: 377.1 kB / 458.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004506/0.237, allocations: 328.5 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008068/0.2379, allocations: 0.5372 MB / 459.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-06/0.2379, allocations: 4 kB / 459.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001214/0.2391, allocations: 0.6992 MB / 460 MB, free: 5.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.2391, allocations: 8 kB / 460 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2391, allocations: 0 / 460 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.2394, allocations: 100.7 kB / 460.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.2399, allocations: 131.9 kB / 460.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.2418, allocations: 2.03 MB / 462.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.2422, allocations: 63.56 kB / 462.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.2422, allocations: 24 kB / 462.3 MB, free: 3.039 MB / 334.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 (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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.2424, allocations: 216 kB / 462.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.2425, allocations: 67.16 kB / 462.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.2436, allocations: 0.5617 MB / 463.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2436, allocations: 4 kB / 463.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2436, allocations: 4 kB / 463.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2436, allocations: 3.984 kB / 463.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.2455, allocations: 1.322 MB / 464.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2455, allocations: 0 / 464.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.246, allocations: 111.9 kB / 464.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.246, allocations: 0 / 464.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.2461, allocations: 11.94 kB / 464.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2461, allocations: 4 kB / 464.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2461, allocations: 3.984 kB / 464.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2475, allocations: 0.9092 MB / 465.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.2477, allocations: 199.9 kB / 465.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.2478, allocations: 11.94 kB / 465.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.2482, allocations: 43.95 kB / 465.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.2483, allocations: 32.39 kB / 465.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.2483, allocations: 12 kB / 465.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.2489, allocations: 427 kB / 466.3 MB, free: 15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2489, allocations: 288 / 466.3 MB, free: 15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007699/0.2496, allocations: 267.2 kB / 466.5 MB, free: 14.74 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.2498, allocations: 111.3 kB / 466.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.2515, allocations: 1.092 MB / 467.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2515, allocations: 0 / 467.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.252, allocations: 254.3 kB / 468 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.2527, allocations: 143.3 kB / 468.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.2553, allocations: 1.821 MB / 469.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.2558, allocations: 0.9458 MB / 470.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.2559, allocations: 43.44 kB / 470.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2559, allocations: 0 / 470.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01107/0.267, allocations: 9.814 MB / 480.7 MB, free: 452 kB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.o] Error 1