Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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: "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) [: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.003348/0.003348, allocations: 180.4 kB / 7.458 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.164/1.164, allocations: 221.4 MB / 229.3 MB, free: 3.141 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.0008912/0.0008911, allocations: 93.38 kB / 280.1 MB, free: 1.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4014/0.4014, allocations: 78.05 MB / 408.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1381/0.5396, allocations: 75.49 MB / 484.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.8041, allocations: 69.34 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.9205, allocations: 101.5 MB / 0.6399 GB, free: 3.293 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.9208, allocations: 75.95 kB / 0.64 GB, free: 3.219 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.3974/1.318, allocations: 73.61 MB / 0.7119 GB, free: 93.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.318, allocations: 8.375 kB / 0.7119 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008173/1.326, allocations: 1.217 MB / 0.7131 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/1.332, allocations: 1.757 MB / 0.7148 GB, free: 91.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005935/1.333, allocations: 407.8 kB / 0.7152 GB, free: 91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009792/1.334, allocations: 115.9 kB / 0.7153 GB, free: 90.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005216/1.339, allocations: 1.869 MB / 0.7171 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/1.345, allocations: 1.893 MB / 0.719 GB, free: 89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/1.345, allocations: 7.938 kB / 0.719 GB, free: 89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004678/1.345, allocations: 3.984 kB / 0.719 GB, free: 88.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/1.345, allocations: 44 kB / 0.719 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/1.364, allocations: 8.693 MB / 0.7275 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/1.367, allocations: 1.427 MB / 0.7289 GB, free: 78.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.369, allocations: 1.23 MB / 0.7301 GB, free: 77.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/1.369, allocations: 41.8 kB / 0.7302 GB, free: 77.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002582/1.372, allocations: 1.415 MB / 0.7315 GB, free: 75.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 7.094e-06/1.372, allocations: 0 / 0.7315 GB, free: 75.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02298/1.395, allocations: 7.488 MB / 0.7389 GB, free: 68.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.395, allocations: 235.6 kB / 0.7391 GB, free: 68.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/1.401, allocations: 1.863 MB / 0.7409 GB, free: 66.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008825/1.401, allocations: 25.7 kB / 0.7409 GB, free: 66.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/1.402, allocations: 0.6342 MB / 0.7415 GB, free: 65.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002268/1.405, allocations: 0.789 MB / 0.7423 GB, free: 64.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/1.405, allocations: 0 / 0.7423 GB, free: 64.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003297/1.406, allocations: 394.9 kB / 0.7427 GB, free: 64.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/1.408, allocations: 1.032 MB / 0.7437 GB, free: 63.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/1.41, allocations: 1.274 MB / 0.7449 GB, free: 61.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.412, allocations: 1.146 MB / 0.7461 GB, free: 60.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.412, allocations: 7.938 kB / 0.7461 GB, free: 60.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01839/1.43, allocations: 6.718 MB / 0.7526 GB, free: 54.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.431, allocations: 7.984 kB / 0.7526 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.431, allocations: 12 kB / 0.7526 GB, free: 54.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/1.441, allocations: 2.791 MB / 0.7554 GB, free: 51.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.444, allocations: 471.4 kB / 0.7558 GB, free: 50.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02657/1.471, allocations: 15.23 MB / 0.7707 GB, free: 34.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/1.475, allocations: 374 kB / 0.7711 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007752/1.476, allocations: 88.03 kB / 0.7711 GB, free: 34.48 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 (237): * Single equations (assignments): 224 * 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.001257/1.477, allocations: 239.6 kB / 0.7714 GB, free: 34.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.479, allocations: 292.3 kB / 0.7716 GB, free: 33.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02294/1.502, allocations: 7.687 MB / 0.7792 GB, free: 26.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/1.502, allocations: 24 kB / 0.7792 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.502, allocations: 4 kB / 0.7792 GB, free: 26.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/1.502, allocations: 15.95 kB / 0.7792 GB, free: 26.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/1.532, allocations: 11.21 MB / 0.7901 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/1.532, allocations: 4 kB / 0.7901 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.534, allocations: 227.7 kB / 0.7904 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/1.545, allocations: 3.327 MB / 0.7936 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007289/1.546, allocations: 27.89 kB / 0.7936 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03265/1.578, allocations: 16.05 MB / 0.8093 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.578, allocations: 0 / 0.8093 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02806/1.607, allocations: 9.362 MB / 0.8184 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03192/1.639, allocations: 11.4 MB / 0.8296 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.64, allocations: 432.8 kB / 0.83 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/1.641, allocations: 8 kB / 0.83 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/1.645, allocations: 255.8 kB / 0.8302 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/1.646, allocations: 237.5 kB / 0.8305 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005211/1.646, allocations: 67.98 kB / 0.8305 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003051/1.65, allocations: 1.387 MB / 0.8319 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004499/1.654, allocations: 0.8386 MB / 0.8327 GB, free: 2.73 MB / 0.5105 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 (142): * Single equations (assignments): 135 * 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.000473/1.655, allocations: 162 kB / 0.8329 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.665, allocations: 4.596 MB / 0.8374 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.665, allocations: 0 / 0.8374 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008608/1.674, allocations: 3.172 MB / 0.8405 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.676, allocations: 204.8 kB / 0.8406 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.688, allocations: 4.376 MB / 0.8449 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/1.69, allocations: 2 MB / 0.8469 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/1.69, allocations: 0 / 0.8469 GB, free: 3.969 MB / 0.5261 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)