Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.004366/0.004366, allocations: 187 kB / 7.46 MB, free: 2.516 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.257/1.257, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0009713/0.0009712, allocations: 97.05 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4518/0.4518, allocations: 78.06 MB / 409 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1622/0.6141, allocations: 75.48 MB / 484.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.9517, allocations: 69.35 MB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/1.069, allocations: 99.49 MB / 0.638 GB, free: 5.379 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.069, allocations: 83.94 kB / 0.638 GB, free: 5.297 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.4355/1.505, allocations: 72.35 MB / 0.7087 GB, free: 95.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.505, allocations: 9.281 kB / 0.7087 GB, free: 95.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/1.517, allocations: 1.672 MB / 0.7103 GB, free: 94.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/1.522, allocations: 1.652 MB / 0.712 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007071/1.523, allocations: 0.6747 MB / 0.7126 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009232/1.524, allocations: 136.7 kB / 0.7127 GB, free: 92.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005491/1.529, allocations: 2.211 MB / 0.7149 GB, free: 91.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/1.536, allocations: 2.278 MB / 0.7171 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.538e-05/1.536, allocations: 0 / 0.7171 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/1.537, allocations: 5.25 kB / 0.7171 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/1.537, allocations: 48.78 kB / 0.7172 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/1.558, allocations: 9.813 MB / 0.7268 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/1.562, allocations: 2.031 MB / 0.7287 GB, free: 78.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/1.564, allocations: 1.454 MB / 0.7302 GB, free: 77.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/1.564, allocations: 45.72 kB / 0.7302 GB, free: 77.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/1.567, allocations: 1.682 MB / 0.7319 GB, free: 75.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.679e-06/1.567, allocations: 0 / 0.7319 GB, free: 75.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03844/1.605, allocations: 13.14 MB / 0.7447 GB, free: 62.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/1.605, allocations: 184.3 kB / 0.7449 GB, free: 62.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/1.609, allocations: 1.689 MB / 0.7465 GB, free: 60.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008025/1.61, allocations: 33.62 kB / 0.7465 GB, free: 60.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/1.61, allocations: 0.7074 MB / 0.7472 GB, free: 59.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.611, allocations: 0.8157 MB / 0.748 GB, free: 58.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/1.612, allocations: 0 / 0.748 GB, free: 58.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/1.612, allocations: 406.9 kB / 0.7484 GB, free: 58.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/1.614, allocations: 1.216 MB / 0.7496 GB, free: 57.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.616, allocations: 1.515 MB / 0.7511 GB, free: 55.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/1.618, allocations: 1.328 MB / 0.7524 GB, free: 54.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.618, allocations: 0 / 0.7524 GB, free: 54.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03822/1.656, allocations: 13.1 MB / 0.7652 GB, free: 41.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.656, allocations: 11.98 kB / 0.7652 GB, free: 41.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/1.656, allocations: 7.984 kB / 0.7652 GB, free: 41.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01656/1.673, allocations: 5.196 MB / 0.7703 GB, free: 35.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/1.675, allocations: 415.4 kB / 0.7707 GB, free: 35.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03736/1.713, allocations: 15.49 MB / 0.7858 GB, free: 19.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.717, allocations: 0.5173 MB / 0.7863 GB, free: 19.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/1.718, allocations: 87.97 kB / 0.7864 GB, free: 19.29 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006438/1.718, allocations: 213 kB / 0.7866 GB, free: 19.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/1.719, allocations: 296.3 kB / 0.7869 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03754/1.756, allocations: 13.4 MB / 0.8 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/1.757, allocations: 24 kB / 0.8 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.181e-05/1.757, allocations: 20 kB / 0.8 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.509e-05/1.757, allocations: 11.95 kB / 0.8 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0459/1.803, allocations: 16.69 MB / 0.8163 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.803, allocations: 0 / 0.8163 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.804, allocations: 243.6 kB / 0.8165 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01689/1.821, allocations: 5.189 MB / 0.8216 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007189/1.822, allocations: 19.98 kB / 0.8216 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04026/1.862, allocations: 17.45 MB / 0.8387 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.862, allocations: 7.938 kB / 0.8387 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04525/1.908, allocations: 15.42 MB / 0.8537 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04993/1.958, allocations: 17.89 MB / 0.8712 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.959, allocations: 412.7 kB / 0.8716 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007181/1.96, allocations: 8 kB / 0.8716 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/1.963, allocations: 403.7 kB / 0.872 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009599/1.964, allocations: 341.4 kB / 0.8723 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/1.964, allocations: 68.05 kB / 0.8724 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001806/1.966, allocations: 1.264 MB / 0.8736 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003355/1.97, allocations: 0.9946 MB / 0.8746 GB, free: 8.395 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004335/1.97, allocations: 146.7 kB / 0.8747 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.985, allocations: 5.486 MB / 0.8801 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.985, allocations: 0 / 0.8801 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2098/2.195, allocations: 4.229 MB / 0.8842 GB, free: 199.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/2.197, allocations: 192.2 kB / 0.8844 GB, free: 199.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/2.209, allocations: 4.079 MB / 0.8884 GB, free: 198.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/2.211, allocations: 1.985 MB / 0.8903 GB, free: 197.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/2.211, allocations: 5.031 kB / 0.8903 GB, free: 197.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)