Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",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.002118/0.002118, allocations: 178.5 kB / 7.455 MB, free: 2.508 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.068/1.068, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0008225/0.0008225, allocations: 98.8 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.369/0.369, allocations: 78.1 MB / 409 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.117/0.486, allocations: 75.5 MB / 484.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.7202, allocations: 69.34 MB / 0.5408 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.8286, allocations: 102.3 MB / 0.6408 GB, free: 2.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.8289, allocations: 83.95 kB / 0.6408 GB, free: 2.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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.3688/1.198, allocations: 86.45 MB / 0.7253 GB, free: 83.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/1.198, allocations: 8 kB / 0.7253 GB, free: 83.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/1.204, allocations: 1.225 MB / 0.7265 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/1.207, allocations: 1.77 MB / 0.7282 GB, free: 80.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/1.207, allocations: 408.6 kB / 0.7286 GB, free: 79.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.208, allocations: 111.9 kB / 0.7287 GB, free: 79.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002873/1.21, allocations: 1.893 MB / 0.7305 GB, free: 77.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/1.213, allocations: 1.929 MB / 0.7324 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.213, allocations: 0 / 0.7324 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/1.213, allocations: 3.984 kB / 0.7324 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.214, allocations: 47.91 kB / 0.7325 GB, free: 75.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/1.226, allocations: 8.969 MB / 0.7412 GB, free: 66.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/1.229, allocations: 1.458 MB / 0.7427 GB, free: 64.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/1.23, allocations: 1.254 MB / 0.7439 GB, free: 63.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/1.23, allocations: 53.41 kB / 0.7439 GB, free: 63.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/1.232, allocations: 1.443 MB / 0.7453 GB, free: 62.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.188e-06/1.232, allocations: 0 / 0.7453 GB, free: 62.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.02065/1.253, allocations: 7.587 MB / 0.7528 GB, free: 54.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.253, allocations: 235.6 kB / 0.753 GB, free: 54.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/1.255, allocations: 1.875 MB / 0.7548 GB, free: 52.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.256, allocations: 29.69 kB / 0.7548 GB, free: 52.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/1.256, allocations: 0.6317 MB / 0.7555 GB, free: 51.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009428/1.257, allocations: 0.8088 MB / 0.7562 GB, free: 50.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.257, allocations: 0 / 0.7562 GB, free: 50.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/1.257, allocations: 399 kB / 0.7566 GB, free: 50.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.259, allocations: 1.048 MB / 0.7576 GB, free: 49.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/1.26, allocations: 1.309 MB / 0.7589 GB, free: 48.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.262, allocations: 1.174 MB / 0.7601 GB, free: 46.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.262, allocations: 0 / 0.7601 GB, free: 46.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01728/1.279, allocations: 6.798 MB / 0.7667 GB, free: 40.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.279, allocations: 4 kB / 0.7667 GB, free: 40.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.279, allocations: 11.94 kB / 0.7667 GB, free: 40.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009644/1.289, allocations: 2.788 MB / 0.7694 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/1.292, allocations: 487.3 kB / 0.7699 GB, free: 36.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/1.315, allocations: 15.24 MB / 0.7848 GB, free: 20.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/1.318, allocations: 370 kB / 0.7851 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/1.319, allocations: 95.97 kB / 0.7852 GB, free: 20.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 (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.0005154/1.319, allocations: 247.9 kB / 0.7855 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/1.32, allocations: 300.2 kB / 0.7858 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/1.34, allocations: 7.75 MB / 0.7933 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/1.34, allocations: 31.91 kB / 0.7934 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.34, allocations: 0 / 0.7934 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-05/1.34, allocations: 11.95 kB / 0.7934 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.364, allocations: 11.32 MB / 0.8044 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.364, allocations: 4 kB / 0.8044 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.366, allocations: 251.6 kB / 0.8047 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/1.377, allocations: 3.324 MB / 0.8079 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004603/1.377, allocations: 19.98 kB / 0.8079 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03002/1.407, allocations: 16.05 MB / 0.8236 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.407, allocations: 3.906 kB / 0.8236 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02448/1.432, allocations: 9.523 MB / 0.8329 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02687/1.459, allocations: 11.6 MB / 0.8442 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.46, allocations: 440.7 kB / 0.8447 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/1.46, allocations: 16 kB / 0.8447 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.463, allocations: 255.8 kB / 0.8449 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005605/1.463, allocations: 225.5 kB / 0.8451 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.463, allocations: 75.97 kB / 0.8452 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001924/1.465, allocations: 1.387 MB / 0.8466 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003177/1.469, allocations: 0.8503 MB / 0.8474 GB, free: 3.934 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.0004075/1.469, allocations: 157.5 kB / 0.8475 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.479, allocations: 4.673 MB / 0.8521 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.479, allocations: 8.188 kB / 0.8521 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007772/1.487, allocations: 3.207 MB / 0.8552 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/1.488, allocations: 201.1 kB / 0.8554 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009566/1.498, allocations: 4.407 MB / 0.8597 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.5, allocations: 2.016 MB / 0.8617 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/1.5, allocations: 0 / 0.8617 GB, free: 4.973 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)