Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",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.002775/0.002776, 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.222/1.222, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0009504/0.0009506, allocations: 102.5 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.4762/0.4762, allocations: 78.92 MB / 409.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.6511, allocations: 75.65 MB / 485.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.9664, allocations: 69.51 MB / 0.542 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/1.089, allocations: 99.35 MB / 0.639 GB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.089, allocations: 75.97 kB / 0.639 GB, free: 4.441 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.4907/1.58, allocations: 73.05 MB / 0.7104 GB, free: 94.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.58, allocations: 13.31 kB / 0.7104 GB, free: 94.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/1.592, allocations: 1.676 MB / 0.712 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00635/1.598, allocations: 1.636 MB / 0.7136 GB, free: 92.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/1.599, allocations: 0.68 MB / 0.7143 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/1.601, allocations: 130.6 kB / 0.7144 GB, free: 91.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006792/1.607, allocations: 2.216 MB / 0.7166 GB, free: 90.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/1.613, allocations: 2.274 MB / 0.7188 GB, free: 88.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/1.613, allocations: 0 / 0.7188 GB, free: 88.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/1.613, allocations: 0 / 0.7188 GB, free: 88.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/1.613, allocations: 48 kB / 0.7189 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/1.632, allocations: 9.795 MB / 0.7284 GB, free: 78.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/1.635, allocations: 2.019 MB / 0.7304 GB, free: 76.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/1.637, allocations: 1.454 MB / 0.7318 GB, free: 75.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/1.637, allocations: 49.72 kB / 0.7319 GB, free: 74.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002377/1.639, allocations: 1.674 MB / 0.7335 GB, free: 73.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 3.957e-06/1.64, allocations: 8 kB / 0.7335 GB, free: 73.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03797/1.677, allocations: 13.13 MB / 0.7463 GB, free: 60.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/1.678, allocations: 180.2 kB / 0.7465 GB, free: 59.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/1.68, allocations: 1.704 MB / 0.7482 GB, free: 58.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006108/1.681, allocations: 29.7 kB / 0.7482 GB, free: 58.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/1.681, allocations: 0.6996 MB / 0.7489 GB, free: 57.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.683, allocations: 0.8236 MB / 0.7497 GB, free: 56.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.683, allocations: 3.938 kB / 0.7497 GB, free: 56.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/1.683, allocations: 402.9 kB / 0.7501 GB, free: 56.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.685, allocations: 1.216 MB / 0.7513 GB, free: 55.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/1.687, allocations: 1.507 MB / 0.7527 GB, free: 53.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/1.689, allocations: 1.33 MB / 0.754 GB, free: 52.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/1.689, allocations: 4 kB / 0.754 GB, free: 52.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03698/1.726, allocations: 13.09 MB / 0.7668 GB, free: 38.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.726, allocations: 4 kB / 0.7668 GB, free: 38.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.726, allocations: 8 kB / 0.7668 GB, free: 38.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/1.742, allocations: 5.179 MB / 0.7719 GB, free: 33.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/1.745, allocations: 415.5 kB / 0.7723 GB, free: 33.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03692/1.782, allocations: 15.57 MB / 0.7875 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/1.787, allocations: 0.5211 MB / 0.788 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/1.787, allocations: 87.97 kB / 0.7881 GB, free: 17.05 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007012/1.788, allocations: 205 kB / 0.7883 GB, free: 16.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006862/1.789, allocations: 296.3 kB / 0.7886 GB, free: 16.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03719/1.826, allocations: 13.41 MB / 0.8016 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/1.826, allocations: 24 kB / 0.8017 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/1.826, allocations: 20 kB / 0.8017 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.948e-05/1.826, allocations: 15.95 kB / 0.8017 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04686/1.873, allocations: 16.69 MB / 0.818 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/1.873, allocations: 3.906 kB / 0.818 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/1.875, allocations: 247.7 kB / 0.8182 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/1.892, allocations: 5.171 MB / 0.8233 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008754/1.893, allocations: 15.98 kB / 0.8233 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/1.934, allocations: 17.5 MB / 0.8404 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.934, allocations: 0 / 0.8404 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04613/1.981, allocations: 15.42 MB / 0.8555 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05028/2.031, allocations: 17.86 MB / 0.8729 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/2.032, allocations: 416.7 kB / 0.8733 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/2.033, allocations: 8 kB / 0.8733 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/2.037, allocations: 403.7 kB / 0.8737 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/2.038, allocations: 341.4 kB / 0.874 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/2.039, allocations: 63.98 kB / 0.8741 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002529/2.041, allocations: 1.272 MB / 0.8753 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004851/2.046, allocations: 0.9946 MB / 0.8763 GB, free: 6.137 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005748/2.047, allocations: 156.1 kB / 0.8764 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01555/2.062, allocations: 5.46 MB / 0.8818 GB, free: 472 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.062, allocations: 4 kB / 0.8818 GB, free: 468 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01355/2.076, allocations: 4.197 MB / 0.8859 GB, free: 12.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/2.078, allocations: 179.3 kB / 0.886 GB, free: 12.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/2.09, allocations: 4.03 MB / 0.89 GB, free: 7.945 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/2.093, allocations: 1.975 MB / 0.8919 GB, free: 5.938 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/2.093, allocations: 0 / 0.8919 GB, free: 5.938 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)