Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_dev_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.003744/0.003744, allocations: 185.3 kB / 7.458 MB, free: 2.512 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.152/1.152, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0009453/0.0009453, allocations: 94.17 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4042/0.4042, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1312/0.5354, allocations: 75.65 MB / 485.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.8056, allocations: 69.48 MB / 0.5419 GB, free: 20.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.9213, allocations: 102.3 MB / 0.6418 GB, free: 1.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.9215, allocations: 71.97 kB / 0.6419 GB, free: 1.512 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.3854/1.307, allocations: 75.3 MB / 0.7154 GB, free: 91.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.307, allocations: 8.781 kB / 0.7155 GB, free: 91.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008545/1.316, allocations: 1.218 MB / 0.7166 GB, free: 90.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/1.321, allocations: 1.742 MB / 0.7183 GB, free: 89.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/1.321, allocations: 412.5 kB / 0.7187 GB, free: 89.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000764/1.322, allocations: 119.9 kB / 0.7188 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004198/1.326, allocations: 1.87 MB / 0.7207 GB, free: 87.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/1.331, allocations: 1.889 MB / 0.7225 GB, free: 85.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/1.331, allocations: 0 / 0.7225 GB, free: 85.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/1.331, allocations: 0 / 0.7225 GB, free: 85.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/1.331, allocations: 44 kB / 0.7226 GB, free: 85.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/1.348, allocations: 8.774 MB / 0.7311 GB, free: 76.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/1.351, allocations: 1.414 MB / 0.7325 GB, free: 74.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/1.353, allocations: 1.223 MB / 0.7337 GB, free: 73.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/1.353, allocations: 49.27 kB / 0.7338 GB, free: 73.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/1.355, allocations: 1.404 MB / 0.7351 GB, free: 72.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 6.221e-06/1.355, allocations: 4 kB / 0.7351 GB, free: 72.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02187/1.377, allocations: 7.462 MB / 0.7424 GB, free: 64.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/1.377, allocations: 239.7 kB / 0.7426 GB, free: 64.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/1.381, allocations: 1.867 MB / 0.7445 GB, free: 62.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006912/1.382, allocations: 29.7 kB / 0.7445 GB, free: 62.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/1.382, allocations: 0.6303 MB / 0.7451 GB, free: 61.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.384, allocations: 0.7851 MB / 0.7459 GB, free: 60.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004584/1.385, allocations: 0 / 0.7459 GB, free: 60.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/1.385, allocations: 406.8 kB / 0.7463 GB, free: 60.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.387, allocations: 1.024 MB / 0.7473 GB, free: 59.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.389, allocations: 1.274 MB / 0.7485 GB, free: 58.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/1.391, allocations: 1.15 MB / 0.7496 GB, free: 56.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1.391, allocations: 4 kB / 0.7496 GB, free: 56.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01844/1.409, allocations: 6.714 MB / 0.7562 GB, free: 50.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.409, allocations: 4 kB / 0.7562 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.409, allocations: 4 kB / 0.7562 GB, free: 50.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.42, allocations: 2.788 MB / 0.7589 GB, free: 47.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.422, allocations: 479.3 kB / 0.7594 GB, free: 46.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02512/1.447, allocations: 15.22 MB / 0.7742 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/1.451, allocations: 378 kB / 0.7746 GB, free: 30.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005602/1.452, allocations: 87.97 kB / 0.7747 GB, free: 30.66 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.0008937/1.453, allocations: 249.6 kB / 0.7749 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009662/1.454, allocations: 296.4 kB / 0.7752 GB, free: 30.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/1.476, allocations: 7.687 MB / 0.7827 GB, free: 22.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/1.476, allocations: 24 kB / 0.7827 GB, free: 22.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.476, allocations: 0 / 0.7827 GB, free: 22.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.199e-05/1.476, allocations: 11.95 kB / 0.7827 GB, free: 22.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/1.504, allocations: 11.22 MB / 0.7937 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/1.504, allocations: 0 / 0.7937 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.506, allocations: 227.7 kB / 0.7939 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/1.517, allocations: 3.32 MB / 0.7972 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006712/1.517, allocations: 27.83 kB / 0.7972 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03249/1.55, allocations: 16.04 MB / 0.8129 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.55, allocations: 0 / 0.8129 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02767/1.578, allocations: 9.352 MB / 0.822 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03044/1.608, allocations: 11.4 MB / 0.8331 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.61, allocations: 440.8 kB / 0.8335 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.611, allocations: 8 kB / 0.8335 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.614, allocations: 259.8 kB / 0.8338 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008114/1.615, allocations: 241.5 kB / 0.834 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/1.615, allocations: 71.91 kB / 0.8341 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002587/1.618, allocations: 1.387 MB / 0.8354 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004396/1.622, allocations: 0.8308 MB / 0.8363 GB, free: 14.89 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 (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.0006061/1.623, allocations: 154.5 kB / 0.8364 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.634, allocations: 4.596 MB / 0.8409 GB, free: 10 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.634, allocations: 0 / 0.8409 GB, free: 10 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008403/1.642, allocations: 3.176 MB / 0.844 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/1.645, allocations: 205.2 kB / 0.8442 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.657, allocations: 4.357 MB / 0.8484 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/1.659, allocations: 1.999 MB / 0.8504 GB, free: 112 kB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/1.659, allocations: 0 / 0.8504 GB, free: 112 kB / 0.5261 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)