Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 110.4 kB / 17.16 MB, free: 6.082 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.0008558/0.0008558, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.194/1.194, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1554/0.1554, allocations: 37.98 MB / 309.2 MB, free: 6.234 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.001165/0.001165, allocations: 59.91 kB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1932, allocations: 55.24 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.004923/0.1981, allocations: 5.869 MB / 436.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.2007, allocations: 2.421 MB / 438.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.2011, allocations: 31.81 kB / 438.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.2019, allocations: 226.9 kB / 439.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.2024, allocations: 310.5 kB / 439.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.2031, allocations: 473.4 kB / 439.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.2037, allocations: 1.143 MB / 441 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.2043, allocations: 0.5126 MB / 441.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.2045, allocations: 334.4 kB / 441.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.2048, allocations: 390.1 kB / 442.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.2049, allocations: 40 kB / 442.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.2053, allocations: 391.1 kB / 442.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.2055, allocations: 183.3 kB / 442.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.2057, allocations: 353.8 kB / 443.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.2061, allocations: 0.8264 MB / 444 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2062, allocations: 4 kB / 444 MB, free: 6.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2062, allocations: 0 / 444 MB, free: 6.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2062, allocations: 0 / 444 MB, free: 6.266 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.001626/0.2078, allocations: 1.145 MB / 445.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2078, allocations: 8.031 kB / 445.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007146/0.2086, allocations: 159.8 kB / 445.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.2092, allocations: 0.5851 MB / 445.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.2093, allocations: 45.69 kB / 445.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.2094, allocations: 60.38 kB / 446 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.2104, allocations: 0.7798 MB / 446.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2104, allocations: 4 kB / 446.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.2105, allocations: 27.98 kB / 446.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.2105, allocations: 33.23 kB / 446.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2116, allocations: 0.6609 MB / 447.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.2147, allocations: 2.926 MB / 450.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2161, allocations: 0.7421 MB / 451.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.2166, allocations: 251 kB / 451.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.2166, allocations: 8.375 kB / 451.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.2167, allocations: 43 kB / 451.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.2167, allocations: 0 / 451.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001545/0.2182, allocations: 0.752 MB / 452.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.2183, allocations: 111.2 kB / 452.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.219, allocations: 0.5822 MB / 452.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.219, allocations: 37.83 kB / 452.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.2193, allocations: 365.1 kB / 453.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.2194, allocations: 177.4 kB / 453.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2196, allocations: 106.2 kB / 453.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2197, allocations: 374.8 kB / 453.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.2202, allocations: 239.3 kB / 454.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.2208, allocations: 357.6 kB / 454.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2218, allocations: 0.5783 MB / 455.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2218, allocations: 0 / 455.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001658/0.2235, allocations: 0.8228 MB / 455.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2235, allocations: 11.98 kB / 455.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2235, allocations: 4 kB / 455.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.2239, allocations: 112.7 kB / 456 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.2245, allocations: 136 kB / 456.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.227, allocations: 2.206 MB / 458.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.2274, allocations: 83.33 kB / 458.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.2275, allocations: 20 kB / 458.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006176/0.2281, allocations: 393.2 kB / 458.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005051/0.2286, allocations: 353.6 kB / 459.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009237/0.2296, allocations: 0.5627 MB / 459.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.2296, allocations: 0 / 459.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001328/0.2309, allocations: 0.7331 MB / 460.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.2309, allocations: 11.88 kB / 460.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2309, allocations: 4 kB / 460.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.2312, allocations: 96.8 kB / 460.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.2317, allocations: 148.1 kB / 460.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.2335, allocations: 2.018 MB / 462.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.234, allocations: 71.58 kB / 462.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.234, allocations: 23.94 kB / 462.8 MB, free: 2.52 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 (61): * Single equations (assignments): 60 * 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.0001708/0.2342, allocations: 228.2 kB / 463.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.2343, allocations: 79.08 kB / 463.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.2355, allocations: 0.589 MB / 463.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2355, allocations: 4 kB / 463.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2355, allocations: 0 / 463.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2355, allocations: 0 / 463.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.2375, allocations: 1.361 MB / 465.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2375, allocations: 0 / 465.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.2381, allocations: 115.9 kB / 465.2 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2381, allocations: 4 kB / 465.2 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.2381, allocations: 15.98 kB / 465.2 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2381, allocations: 4 kB / 465.2 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.2381, allocations: 7.938 kB / 465.2 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.2397, allocations: 0.952 MB / 466.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.2399, allocations: 192.1 kB / 466.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.24, allocations: 12 kB / 466.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.2404, allocations: 43.95 kB / 466.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.2405, allocations: 44.31 kB / 466.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.2405, allocations: 12 kB / 466.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005285/0.2411, allocations: 423 kB / 466.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2411, allocations: 0 / 466.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.2419, allocations: 275.1 kB / 467.2 MB, free: 14.08 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 (51): * Single equations (assignments): 50 * 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.0001176/0.242, allocations: 111.3 kB / 467.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.2439, allocations: 1.136 MB / 468.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2439, allocations: 3.938 kB / 468.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.2444, allocations: 270.4 kB / 468.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.2451, allocations: 135.6 kB / 468.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.2477, allocations: 1.848 MB / 470.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.2482, allocations: 0.9499 MB / 471.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.2484, allocations: 47.42 kB / 471.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2484, allocations: 0 / 471.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of Templates: time 0.01082/0.2592, allocations: 9.967 MB / 481.6 MB, free: 15.52 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2CalcHelperMain.o] Error 1