Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_release_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.001858/0.001858, allocations: 179.8 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.047/1.047, allocations: 221.4 MB / 229.3 MB, free: 3 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.0008352/0.0008352, allocations: 100.9 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3599/0.3599, allocations: 78.11 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1099/0.4699, allocations: 75.49 MB / 484.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.6894, allocations: 69.34 MB / 0.5408 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.7912, allocations: 101.5 MB / 0.64 GB, free: 3.359 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.7914, allocations: 71.97 kB / 0.64 GB, free: 3.289 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.33/1.121, allocations: 73.61 MB / 0.7119 GB, free: 93.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/1.121, allocations: 9.469 kB / 0.7119 GB, free: 93.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006421/1.128, allocations: 1.221 MB / 0.7131 GB, free: 92.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/1.131, allocations: 1.755 MB / 0.7148 GB, free: 91.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/1.131, allocations: 407 kB / 0.7152 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/1.131, allocations: 115.4 kB / 0.7153 GB, free: 91.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003104/1.134, allocations: 1.874 MB / 0.7172 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/1.137, allocations: 1.888 MB / 0.719 GB, free: 89.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/1.137, allocations: 3.938 kB / 0.719 GB, free: 89.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/1.138, allocations: 7.984 kB / 0.719 GB, free: 89.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/1.138, allocations: 44 kB / 0.7191 GB, free: 89.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/1.15, allocations: 8.699 MB / 0.7276 GB, free: 80.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/1.152, allocations: 1.423 MB / 0.729 GB, free: 78.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/1.153, allocations: 1.223 MB / 0.7301 GB, free: 77.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/1.153, allocations: 41.48 kB / 0.7302 GB, free: 77.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/1.155, allocations: 1.415 MB / 0.7316 GB, free: 76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 3.807e-06/1.155, allocations: 0 / 0.7316 GB, free: 76 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02031/1.175, allocations: 7.485 MB / 0.7389 GB, free: 68.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.175, allocations: 235.6 kB / 0.7391 GB, free: 68.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/1.178, allocations: 1.867 MB / 0.7409 GB, free: 66.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004476/1.178, allocations: 29.69 kB / 0.741 GB, free: 66.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/1.179, allocations: 0.6343 MB / 0.7416 GB, free: 65.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000965/1.18, allocations: 0.7851 MB / 0.7423 GB, free: 64.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.18, allocations: 4 kB / 0.7423 GB, free: 64.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/1.18, allocations: 394.9 kB / 0.7427 GB, free: 64.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.181, allocations: 1.028 MB / 0.7437 GB, free: 63.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/1.183, allocations: 1.274 MB / 0.745 GB, free: 62.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.184, allocations: 1.154 MB / 0.7461 GB, free: 60.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/1.185, allocations: 0 / 0.7461 GB, free: 60.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0173/1.202, allocations: 6.723 MB / 0.7527 GB, free: 54.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.202, allocations: 8 kB / 0.7527 GB, free: 54.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.202, allocations: 4 kB / 0.7527 GB, free: 54.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009996/1.212, allocations: 2.798 MB / 0.7554 GB, free: 51.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/1.215, allocations: 467.4 kB / 0.7558 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02397/1.239, allocations: 15.23 MB / 0.7707 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/1.242, allocations: 370 kB / 0.7711 GB, free: 34.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004858/1.243, allocations: 84.03 kB / 0.7712 GB, free: 34.62 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.0007078/1.243, allocations: 251.8 kB / 0.7714 GB, free: 34.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/1.244, allocations: 300.3 kB / 0.7717 GB, free: 34.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02062/1.265, allocations: 7.683 MB / 0.7792 GB, free: 26.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/1.265, allocations: 24 kB / 0.7792 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.265, allocations: 0 / 0.7792 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.601e-05/1.265, allocations: 19.95 kB / 0.7792 GB, free: 26.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/1.29, allocations: 11.21 MB / 0.7902 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.29, allocations: 7.984 kB / 0.7902 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.291, allocations: 227.8 kB / 0.7904 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/1.301, allocations: 3.329 MB / 0.7936 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/1.302, allocations: 23.89 kB / 0.7937 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/1.329, allocations: 16.05 MB / 0.8093 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.329, allocations: 8 kB / 0.8093 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02483/1.354, allocations: 9.356 MB / 0.8185 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02761/1.382, allocations: 11.4 MB / 0.8296 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.383, allocations: 432.8 kB / 0.83 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007785/1.384, allocations: 15.94 kB / 0.83 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/1.387, allocations: 255.8 kB / 0.8303 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000596/1.387, allocations: 225.6 kB / 0.8305 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.387, allocations: 67.97 kB / 0.8306 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002095/1.39, allocations: 1.387 MB / 0.8319 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003134/1.393, allocations: 0.8346 MB / 0.8327 GB, free: 2.852 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.0003588/1.393, allocations: 162.5 kB / 0.8329 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009548/1.403, allocations: 4.601 MB / 0.8374 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.403, allocations: 0 / 0.8374 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007499/1.41, allocations: 3.164 MB / 0.8405 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.412, allocations: 212.5 kB / 0.8407 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/1.421, allocations: 4.377 MB / 0.845 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.423, allocations: 2 MB / 0.8469 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/1.423, allocations: 0 / 0.8469 GB, free: 4.078 MB / 0.5261 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)