Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",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.004251/0.004251, allocations: 182.9 kB / 7.461 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.352/1.352, 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.0009274/0.0009274, allocations: 103.2 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.92 MB / 409.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1503/0.5991, allocations: 75.64 MB / 485.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.9556, allocations: 69.5 MB / 0.5419 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/1.107, allocations: 112.5 MB / 0.6518 GB, free: 7.387 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.108, allocations: 79.89 kB / 0.6519 GB, free: 7.309 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.6095/1.717, allocations: 127.4 MB / 0.7763 GB, free: 31.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.717, allocations: 12 kB / 0.7763 GB, free: 31.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/1.728, allocations: 1.527 MB / 0.7778 GB, free: 29.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008904/1.737, allocations: 3.017 MB / 0.7807 GB, free: 26.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/1.738, allocations: 0.9139 MB / 0.7816 GB, free: 25.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/1.739, allocations: 187.8 kB / 0.7818 GB, free: 25.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007671/1.747, allocations: 3.045 MB / 0.7848 GB, free: 22.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009078/1.756, allocations: 3.033 MB / 0.7878 GB, free: 19.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/1.756, allocations: 7.938 kB / 0.7878 GB, free: 19.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008952/1.757, allocations: 4 kB / 0.7878 GB, free: 19.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/1.757, allocations: 68 kB / 0.7878 GB, free: 19.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03322/1.79, allocations: 15.04 MB / 0.8025 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006283/1.797, allocations: 3.211 MB / 0.8056 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/1.8, allocations: 1.847 MB / 0.8075 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.801, allocations: 0.7777 MB / 0.8082 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004917/1.806, allocations: 2.197 MB / 0.8104 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=331): time 6.653e-06/1.806, allocations: 0 / 0.8104 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.04191/1.848, allocations: 12.29 MB / 0.8224 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/1.848, allocations: 188.8 kB / 0.8225 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008416/1.857, allocations: 3.315 MB / 0.8258 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.858, allocations: 29.7 kB / 0.8258 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.859, allocations: 0.974 MB / 0.8268 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003516/1.863, allocations: 1.12 MB / 0.8278 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.864, allocations: 3.938 kB / 0.8279 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004184/1.864, allocations: 449.7 kB / 0.8283 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/1.868, allocations: 1.691 MB / 0.8299 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/1.872, allocations: 2.039 MB / 0.8319 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004993/1.877, allocations: 1.9 MB / 0.8338 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.877, allocations: 0 / 0.8338 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.0136/1.891, allocations: 5.657 MB / 0.8393 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.891, allocations: 4 kB / 0.8393 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/1.891, allocations: 16 kB / 0.8393 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/1.913, allocations: 6.523 MB / 0.8457 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.916, allocations: 0.5695 MB / 0.8462 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/1.932, allocations: 6.092 MB / 0.8522 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00663/1.939, allocations: 0.6335 MB / 0.8528 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008299/1.94, allocations: 128 kB / 0.8529 GB, free: 15.58 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: g3.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real g1.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {82 70} Notification: Performance of prepare postOptimizeDAE: time 0.001245/1.941, allocations: 165.8 kB / 0.8531 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/1.943, allocations: 454.3 kB / 0.8535 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03871/1.982, allocations: 12.59 MB / 0.8658 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-05/1.982, allocations: 36 kB / 0.8659 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.982, allocations: 4 kB / 0.8659 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.375e-05/1.982, allocations: 15.94 kB / 0.8659 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05107/2.033, allocations: 17.98 MB / 0.8834 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/2.033, allocations: 0 / 0.8834 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2655/2.298, allocations: 443 kB / 0.8838 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/2.313, allocations: 4.546 MB / 0.8883 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000983/2.314, allocations: 39.28 kB / 0.8883 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03557/2.35, allocations: 14.77 MB / 0.9028 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/2.35, allocations: 4.156 kB / 0.9028 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04127/2.391, allocations: 15.26 MB / 0.9177 GB, free: 155.2 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0476/2.439, allocations: 18.28 MB / 0.9355 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/2.441, allocations: 0.678 MB / 0.9362 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002399/2.444, allocations: 25.53 kB / 0.9362 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007121/2.451, allocations: 472 kB / 0.9367 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001735/2.452, allocations: 396.4 kB / 0.937 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/2.453, allocations: 99.78 kB / 0.9371 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.006474/2.459, allocations: 2.452 MB / 0.9395 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008683/2.468, allocations: 1.15 MB / 0.9406 GB, free: 153.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/2.47, allocations: 347.2 kB / 0.941 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01997/2.49, allocations: 6.161 MB / 0.947 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.49, allocations: 3 kB / 0.947 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01431/2.504, allocations: 4.146 MB / 0.951 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00684/2.511, allocations: 313.4 kB / 0.9513 GB, free: 151.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/2.537, allocations: 7.599 MB / 0.9588 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004214/2.541, allocations: 2.956 MB / 0.9617 GB, free: 147 MB / 0.5573 GB Notification: Performance of SimCode: time 1.583e-06/2.541, allocations: 0 / 0.9617 GB, free: 147 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)