Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_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.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_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.003768/0.003768, allocations: 187.1 kB / 7.463 MB, free: 2.238 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.143/1.143, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009421/0.000942, allocations: 104.8 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4024/0.4024, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1307/0.5331, allocations: 75.65 MB / 485.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.8167, allocations: 69.5 MB / 0.5419 GB, free: 20.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.9338, allocations: 105 MB / 0.6445 GB, free: 14.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.9341, allocations: 79.94 kB / 0.6446 GB, free: 14.83 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.572/1.506, allocations: 145.5 MB / 0.7866 GB, free: 19.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.506, allocations: 8 kB / 0.7866 GB, free: 19.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/1.521, allocations: 2.482 MB / 0.789 GB, free: 17.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008219/1.53, allocations: 3.269 MB / 0.7922 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008007/1.531, allocations: 0.8596 MB / 0.7931 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/1.532, allocations: 223.8 kB / 0.7933 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007704/1.54, allocations: 3.935 MB / 0.7971 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006932/1.547, allocations: 3.893 MB / 0.8009 GB, free: 4.746 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-05/1.547, allocations: 4 kB / 0.8009 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003964/1.547, allocations: 4 kB / 0.8009 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/1.547, allocations: 88 kB / 0.801 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03478/1.582, allocations: 17.59 MB / 0.8182 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007831/1.59, allocations: 4.195 MB / 0.8223 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/1.595, allocations: 2.742 MB / 0.825 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/1.596, allocations: 83.53 kB / 0.8251 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005394/1.601, allocations: 3.017 MB / 0.828 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=476): time 7.494e-06/1.601, allocations: 0 / 0.828 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.05566/1.657, allocations: 17.53 MB / 0.8451 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.657, allocations: 364.1 kB / 0.8455 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006099/1.663, allocations: 3.574 MB / 0.849 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.664, allocations: 25.7 kB / 0.849 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007399/1.665, allocations: 1.112 MB / 0.8501 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004005/1.669, allocations: 1.597 MB / 0.8516 GB, free: 88 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/1.669, allocations: 0 / 0.8516 GB, free: 88 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003466/1.67, allocations: 488.3 kB / 0.8521 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/1.674, allocations: 2.224 MB / 0.8543 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/1.679, allocations: 2.646 MB / 0.8568 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/1.683, allocations: 2.475 MB / 0.8593 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.683, allocations: 4 kB / 0.8593 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05492/1.738, allocations: 17.44 MB / 0.8763 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.738, allocations: 7.906 kB / 0.8763 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.738, allocations: 4 kB / 0.8763 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2462/1.985, allocations: 9.38 MB / 0.8855 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/1.99, allocations: 0.7521 MB / 0.8862 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07086/2.061, allocations: 30.61 MB / 0.9161 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007654/2.068, allocations: 0.7375 MB / 0.9168 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/2.069, allocations: 170.7 kB / 0.917 GB, free: 139.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 11 variables: gen1.Syn1.e2d:VARIABLE(start = gen1.Syn1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real gen1.Syn1.e2q:VARIABLE(start = gen1.Syn1.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real gen1.Syn1.e1q:VARIABLE(start = gen1.Syn1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen1.Syn1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.Syn1.delta:VARIABLE(start = gen1.Syn1.delta0 unit = "rad" ) "Rotor angle" type: Real gen8.Syn4.e2d:VARIABLE(start = gen8.Syn4.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real gen8.Syn4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen8.Syn4.delta:VARIABLE(start = gen8.Syn4.delta0 unit = "rad" ) "Rotor angle" type: Real gen6.Syn5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.Syn3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: lPQ3.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ2.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ4.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ9.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ5.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ12.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (404): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {98 106} Notification: Performance of prepare postOptimizeDAE: time 0.001168/2.071, allocations: 330.7 kB / 0.9173 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/2.072, allocations: 0.5604 MB / 0.9178 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05156/2.124, allocations: 17.98 MB / 0.9354 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/2.124, allocations: 45.03 kB / 0.9354 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/2.124, allocations: 3.875 kB / 0.9355 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001351/2.124, allocations: 23.53 kB / 0.9355 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06558/2.19, allocations: 25.34 MB / 0.9602 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.38e-05/2.19, allocations: 2.969 kB / 0.9602 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/2.193, allocations: 408.2 kB / 0.9606 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02948/2.222, allocations: 10.35 MB / 0.9707 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/2.224, allocations: 48.2 kB / 0.9708 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06815/2.292, allocations: 33.36 MB / 1.003 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/2.292, allocations: 5.688 kB / 1.003 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05762/2.35, allocations: 21.68 MB / 1.025 GB, free: 88.57 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06321/2.413, allocations: 25.71 MB / 1.05 GB, free: 66.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/2.415, allocations: 0.773 MB / 1.05 GB, free: 65.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/2.417, allocations: 20 kB / 1.05 GB, free: 65.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006664/2.424, allocations: 0.5212 MB / 1.051 GB, free: 65.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/2.425, allocations: 488.8 kB / 1.051 GB, free: 65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000473/2.426, allocations: 127.8 kB / 1.051 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003973/2.43, allocations: 2.651 MB / 1.054 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006937/2.437, allocations: 1.793 MB / 1.056 GB, free: 60.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (gen2.aVR1TypeII1.ExcitationSystem.x_scaled[1],gen2.aVR1TypeII1.derivativeBlock.x,gen2.aVR1TypeII1.firstOrder2.y,gen2.aVR1TypeII1.simpleLagLim.state,gen2.Syn3.delta,gen2.Syn3.w,gen2.Syn3.e1q,gen2.Syn3.e1d,gen2.Syn3.e2q,gen2.Syn3.e2d,gen3.aVR2TypeII2.ExcitationSystem.x_scaled[1],gen3.aVR2TypeII2.derivativeBlock.x,gen3.aVR2TypeII2.firstOrder2.y,gen3.aVR2TypeII2.simpleLagLim.state,gen3.Syn2.delta,gen3.Syn2.w,gen3.Syn2.e1q,gen3.Syn2.e1d,gen3.Syn2.e2q,gen3.Syn2.e2d,gen6.aVR4TypeII1.ExcitationSystem.x_scaled[1],gen6.aVR4TypeII1.derivativeBlock.x,gen6.aVR4TypeII1.firstOrder2.y,gen6.aVR4TypeII1.simpleLagLim.state,gen6.Syn5.delta,gen6.Syn5.w,gen6.Syn5.e1q,gen6.Syn5.e1d,gen6.Syn5.e2q,gen6.Syn5.e2d,gen8.aVR3TypeII2.ExcitationSystem.x_scaled[1],gen8.aVR3TypeII2.derivativeBlock.x,gen8.aVR3TypeII2.firstOrder2.y,gen8.aVR3TypeII2.simpleLagLim.state,gen8.Syn4.delta,gen8.Syn4.w,gen8.Syn4.e1q,gen8.Syn4.e1d,gen8.Syn4.e2q,gen8.Syn4.e2d,gen1.AVR1.ExcitationSystem.x_scaled[1],gen1.AVR1.derivativeBlock.x,gen1.AVR1.firstOrder2.y,gen1.AVR1.simpleLagLim.state,gen1.Syn1.delta,gen1.Syn1.w,gen1.Syn1.e1q,gen1.Syn1.e2q,gen1.Syn1.e2d) * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {110 94,1 6,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/2.438, allocations: 189.8 kB / 1.056 GB, free: 60.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02381/2.462, allocations: 9.202 MB / 1.065 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.462, allocations: 0 / 1.065 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/2.481, allocations: 7.016 MB / 1.072 GB, free: 45.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/2.484, allocations: 373.4 kB / 1.072 GB, free: 45.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/2.508, allocations: 9.416 MB / 1.081 GB, free: 37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003675/2.512, allocations: 3.345 MB / 1.085 GB, free: 34.46 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/2.512, allocations: 3.828 kB / 1.085 GB, free: 34.46 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)