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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001215/0.001215, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.222/1.222, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 118.7 kB / 256.6 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1669/0.1669, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08118, allocations: 52.19 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005176/0.0864, allocations: 5.625 MB / 459.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.08906, allocations: 2.323 MB / 461.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.08942, allocations: 31.81 kB / 462 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.09016, allocations: 215 kB / 462.2 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.09071, allocations: 310.6 kB / 462.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.09147, allocations: 426.3 kB / 462.9 MB, free: 7.613 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.09213, allocations: 1.085 MB / 464 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.09269, allocations: 492.4 kB / 464.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.09299, allocations: 322.5 kB / 464.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.09328, allocations: 374.2 kB / 465.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.09335, allocations: 36 kB / 465.2 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.09379, allocations: 391.1 kB / 465.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.09392, allocations: 179.3 kB / 465.7 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.09413, allocations: 330 kB / 466.1 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.09474, allocations: 0.9812 MB / 467 MB, free: 3.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09475, allocations: 0 / 467 MB, free: 3.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.09476, allocations: 0 / 467 MB, free: 3.457 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.09478, allocations: 0 / 467 MB, free: 3.457 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001563/0.09634, allocations: 1.079 MB / 468.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.09638, allocations: 12.03 kB / 468.1 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.09709, allocations: 155.8 kB / 468.3 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.09786, allocations: 0.5403 MB / 468.8 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.0979, allocations: 45.69 kB / 468.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.09799, allocations: 63.84 kB / 468.9 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.09893, allocations: 0.7059 MB / 469.6 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.09896, allocations: 0 / 469.6 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.09906, allocations: 24 kB / 469.7 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.0991, allocations: 37.25 kB / 469.7 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009272/0.1, allocations: 0.6024 MB / 470.3 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.1036, allocations: 2.507 MB / 472.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.1048, allocations: 0.6798 MB / 473.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.1053, allocations: 231 kB / 473.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.1053, allocations: 8.719 kB / 473.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1054, allocations: 42.88 kB / 473.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.485e-06/0.1054, allocations: 0 / 473.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.001416/0.1068, allocations: 0.6895 MB / 474.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1069, allocations: 111.2 kB / 474.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.1076, allocations: 0.5426 MB / 475.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1076, allocations: 37.7 kB / 475.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1078, allocations: 320.7 kB / 475.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.108, allocations: 173.5 kB / 475.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1081, allocations: 90.25 kB / 475.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1083, allocations: 374.8 kB / 476.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.1087, allocations: 211 kB / 476.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.1092, allocations: 305.1 kB / 476.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008739/0.1101, allocations: 0.5064 MB / 477.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1101, allocations: 0 / 477.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001524/0.1116, allocations: 0.742 MB / 477.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1116, allocations: 7.938 kB / 477.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1117, allocations: 4 kB / 477.8 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.112, allocations: 108.8 kB / 477.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.1125, allocations: 123.9 kB / 478.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.115, allocations: 2.116 MB / 480.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.1154, allocations: 79.48 kB / 480.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.1154, allocations: 20 kB / 480.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005576/0.116, allocations: 353.1 kB / 480.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004487/0.1165, allocations: 304.7 kB / 480.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008135/0.1173, allocations: 494.5 kB / 481.4 MB, free: 4.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.1173, allocations: 0 / 481.4 MB, free: 4.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001182/0.1185, allocations: 0.6559 MB / 482.1 MB, free: 3.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.1185, allocations: 4 kB / 482.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1185, allocations: 4 kB / 482.1 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.1188, allocations: 93.42 kB / 482.2 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.1193, allocations: 123.8 kB / 482.3 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.1211, allocations: 1.936 MB / 484.2 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.1214, allocations: 59.66 kB / 484.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.1215, allocations: 20 kB / 484.3 MB, free: 1.395 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.1217, allocations: 212.2 kB / 484.5 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.1217, allocations: 71.12 kB / 484.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.1229, allocations: 0.5493 MB / 485.1 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1229, allocations: 4 kB / 485.1 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1229, allocations: 4 kB / 485.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1229, allocations: 3.984 kB / 485.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.1248, allocations: 1.275 MB / 486.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1248, allocations: 0 / 486.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.1253, allocations: 107.8 kB / 486.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1253, allocations: 4 kB / 486.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.1254, allocations: 12 kB / 486.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1254, allocations: 8 kB / 486.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1254, allocations: 4 kB / 486.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/0.1324, allocations: 4.365 MB / 490.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.1326, allocations: 184.2 kB / 491.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.1327, allocations: 19.92 kB / 491.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.133, allocations: 31.97 kB / 491.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.1331, allocations: 40.38 kB / 491.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.1332, allocations: 8 kB / 491.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005255/0.1337, allocations: 394.8 kB / 491.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1337, allocations: 0 / 491.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001058/0.1348, allocations: 339.7 kB / 491.9 MB, free: 9.531 MB / 346.7 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 (49): * Single equations (assignments): 48 * 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.0001265/0.1349, allocations: 107.3 kB / 492 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.1368, allocations: 1.044 MB / 493.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1368, allocations: 0 / 493.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.1372, allocations: 250.3 kB / 493.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.1379, allocations: 122.4 kB / 493.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.1408, allocations: 2.038 MB / 495.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.1413, allocations: 0.9417 MB / 496.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000426/0.1417, allocations: 120.5 kB / 496.5 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1419, allocations: 39.44 kB / 496.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1419, allocations: 0 / 496.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of Templates: time 0.01323/0.1551, allocations: 8.392 MB / 0.4931 GB, free: 12.39 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)