Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003294/0.003294, allocations: 185.2 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 229.3 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009932, allocations: 94.86 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4155/0.4155, allocations: 78.05 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.101e-06, allocations: 0 / 484.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3167, allocations: 69.36 MB / 0.5407 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.4457, allocations: 102.3 MB / 0.6406 GB, free: 2.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.446, allocations: 83.95 kB / 0.6407 GB, free: 2.434 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4548/0.9008, allocations: 82.92 MB / 0.7217 GB, free: 86.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003498/0.9012, allocations: 59.94 kB / 0.7218 GB, free: 86.51 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01/0.9112, allocations: 3.468 MB / 0.7251 GB, free: 82.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9112, allocations: 12.03 kB / 0.7251 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00809/0.9193, allocations: 1.221 MB / 0.7263 GB, free: 81.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/0.9235, allocations: 1.765 MB / 0.7281 GB, free: 79.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/0.9239, allocations: 404.6 kB / 0.7285 GB, free: 79.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.9245, allocations: 115.9 kB / 0.7286 GB, free: 79.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003806/0.9284, allocations: 1.897 MB / 0.7304 GB, free: 77.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.9321, allocations: 1.921 MB / 0.7323 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.9321, allocations: 4 kB / 0.7323 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.9324, allocations: 3.984 kB / 0.7323 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.9324, allocations: 47.91 kB / 0.7323 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.9478, allocations: 8.968 MB / 0.7411 GB, free: 66.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.9503, allocations: 1.458 MB / 0.7425 GB, free: 64.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.952, allocations: 1.254 MB / 0.7438 GB, free: 63.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.9522, allocations: 46.64 kB / 0.7438 GB, free: 63.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002196/0.9544, allocations: 1.451 MB / 0.7452 GB, free: 62.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 5.41e-06/0.9545, allocations: 0 / 0.7452 GB, free: 62.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.02339/0.9779, allocations: 7.591 MB / 0.7526 GB, free: 54.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.978, allocations: 231.6 kB / 0.7528 GB, free: 54.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/0.9817, allocations: 1.871 MB / 0.7547 GB, free: 52.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.9821, allocations: 29.69 kB / 0.7547 GB, free: 52.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.9825, allocations: 0.6351 MB / 0.7553 GB, free: 51.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/0.9839, allocations: 0.8099 MB / 0.7561 GB, free: 50.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.9841, allocations: 0 / 0.7561 GB, free: 50.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9843, allocations: 399 kB / 0.7565 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.986, allocations: 1.052 MB / 0.7575 GB, free: 49.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.9879, allocations: 1.305 MB / 0.7588 GB, free: 48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.9897, allocations: 1.178 MB / 0.7599 GB, free: 46.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.9897, allocations: 0 / 0.7599 GB, free: 46.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01904/1.009, allocations: 6.789 MB / 0.7666 GB, free: 39.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.009, allocations: 8.062 kB / 0.7666 GB, free: 39.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.009, allocations: 8 kB / 0.7666 GB, free: 39.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/1.02, allocations: 2.796 MB / 0.7693 GB, free: 37.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.023, allocations: 487.3 kB / 0.7698 GB, free: 36.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02597/1.049, allocations: 15.24 MB / 0.7847 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.053, allocations: 369.9 kB / 0.785 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/1.053, allocations: 88.03 kB / 0.7851 GB, free: 20.39 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005872/1.054, allocations: 246.4 kB / 0.7853 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/1.054, allocations: 300.2 kB / 0.7856 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/1.077, allocations: 7.759 MB / 0.7932 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/1.077, allocations: 31.91 kB / 0.7932 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.077, allocations: 0 / 0.7932 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/1.077, allocations: 11.95 kB / 0.7932 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02733/1.104, allocations: 11.32 MB / 0.8043 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.104, allocations: 128 / 0.8043 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.106, allocations: 251.7 kB / 0.8045 GB, free: 272 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/1.118, allocations: 3.324 MB / 0.8078 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000352/1.118, allocations: 19.98 kB / 0.8078 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03302/1.151, allocations: 16.05 MB / 0.8235 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.151, allocations: 3.906 kB / 0.8235 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02773/1.179, allocations: 9.519 MB / 0.8328 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.18, allocations: 432.8 kB / 0.8332 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006046/1.181, allocations: 19.98 kB / 0.8332 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/1.184, allocations: 251.8 kB / 0.8335 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/1.185, allocations: 237.5 kB / 0.8337 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/1.185, allocations: 63.98 kB / 0.8337 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002299/1.187, allocations: 1.395 MB / 0.8351 GB, free: 360 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002833/1.19, allocations: 0.8425 MB / 0.8359 GB, free: 15.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003929/1.19, allocations: 157.5 kB / 0.8361 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.201, allocations: 4.673 MB / 0.8406 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.201, allocations: 0 / 0.8406 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008565/1.21, allocations: 3.211 MB / 0.8438 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.211, allocations: 201.2 kB / 0.844 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.222, allocations: 4.384 MB / 0.8483 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/1.224, allocations: 1.939 MB / 0.8501 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/1.224, allocations: 0 / 0.8501 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of Templates: time 0.2445/1.469, allocations: 46.47 MB / 0.8955 GB, free: 190 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)