Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",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.003824/0.003824, allocations: 184.2 kB / 7.464 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.394/1.394, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.0009446/0.0009446, allocations: 96.56 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4043/0.4043, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1482/0.5525, allocations: 75.5 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.8651, allocations: 69.35 MB / 0.5408 GB, free: 21.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.9783, allocations: 98.27 MB / 0.6368 GB, free: 6.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.9787, allocations: 75.95 kB / 0.6368 GB, free: 6.508 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.407/1.386, allocations: 64.64 MB / 0.7 GB, free: 96.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.386, allocations: 9.844 kB / 0.7 GB, free: 96.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/1.397, allocations: 1.643 MB / 0.7016 GB, free: 96.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/1.401, allocations: 1.482 MB / 0.703 GB, free: 95.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007229/1.402, allocations: 0.6276 MB / 0.7037 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/1.403, allocations: 114.8 kB / 0.7038 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006739/1.41, allocations: 2.086 MB / 0.7058 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/1.417, allocations: 2.156 MB / 0.7079 GB, free: 94.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.729e-05/1.417, allocations: 3.938 kB / 0.7079 GB, free: 94.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004449/1.418, allocations: 4.875 kB / 0.7079 GB, free: 94.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/1.418, allocations: 45.81 kB / 0.708 GB, free: 94.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/1.44, allocations: 9.531 MB / 0.7173 GB, free: 88.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004604/1.445, allocations: 1.949 MB / 0.7192 GB, free: 87.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/1.447, allocations: 1.374 MB / 0.7205 GB, free: 86.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/1.448, allocations: 42.27 kB / 0.7205 GB, free: 86.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.448, allocations: 60.47 kB / 0.7206 GB, free: 86.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.047e-06/1.448, allocations: 0 / 0.7206 GB, free: 86.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03717/1.485, allocations: 12.73 MB / 0.733 GB, free: 73.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/1.485, allocations: 124.8 kB / 0.7332 GB, free: 73.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/1.488, allocations: 1.527 MB / 0.7347 GB, free: 72.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007564/1.489, allocations: 29.7 kB / 0.7347 GB, free: 72.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/1.489, allocations: 0.6555 MB / 0.7353 GB, free: 71.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.491, allocations: 0.7658 MB / 0.7361 GB, free: 70.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/1.491, allocations: 0 / 0.7361 GB, free: 70.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/1.491, allocations: 386.3 kB / 0.7364 GB, free: 70.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/1.493, allocations: 1.125 MB / 0.7375 GB, free: 69.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/1.496, allocations: 1.416 MB / 0.7389 GB, free: 67.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/1.498, allocations: 1.238 MB / 0.7401 GB, free: 66.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.498, allocations: 4 kB / 0.7401 GB, free: 66.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03824/1.536, allocations: 12.86 MB / 0.7527 GB, free: 53.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005845/1.537, allocations: 2.721 MB / 0.7553 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.537, allocations: 8 kB / 0.7553 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/1.554, allocations: 5.192 MB / 0.7604 GB, free: 45.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/1.556, allocations: 339.5 kB / 0.7607 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04047/1.596, allocations: 15.48 MB / 0.7759 GB, free: 29.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.601, allocations: 481.9 kB / 0.7763 GB, free: 29.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006556/1.601, allocations: 87.89 kB / 0.7764 GB, free: 28.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.602, allocations: 6.344 kB / 0.7764 GB, free: 28.98 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03781/1.639, allocations: 12.53 MB / 0.7886 GB, free: 16.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/1.639, allocations: 8 kB / 0.7887 GB, free: 16.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01708/1.657, allocations: 5.191 MB / 0.7937 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.659, allocations: 323.5 kB / 0.794 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04142/1.7, allocations: 15.49 MB / 0.8092 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.704, allocations: 454.1 kB / 0.8096 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007155/1.705, allocations: 79.97 kB / 0.8097 GB, free: 10.81 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001193/1.706, allocations: 154.5 kB / 0.8098 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.708, allocations: 268.7 kB / 0.8101 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04003/1.748, allocations: 12.99 MB / 0.8228 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/1.748, allocations: 24 kB / 0.8228 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/1.748, allocations: 20 kB / 0.8228 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.627e-05/1.748, allocations: 11.95 kB / 0.8228 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04622/1.794, allocations: 16.16 MB / 0.8386 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/1.794, allocations: 0.875 kB / 0.8386 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.796, allocations: 267.7 kB / 0.8388 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/1.813, allocations: 4.99 MB / 0.8437 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007734/1.814, allocations: 11.98 kB / 0.8437 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03533/1.849, allocations: 13.72 MB / 0.8571 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.849, allocations: 0 / 0.8571 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04512/1.894, allocations: 14.95 MB / 0.8717 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2657/2.16, allocations: 17.28 MB / 0.8886 GB, free: 191.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/2.161, allocations: 377.8 kB / 0.889 GB, free: 191 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009257/2.162, allocations: 5.812 kB / 0.889 GB, free: 191 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/2.165, allocations: 367 kB / 0.8893 GB, free: 191 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00083/2.166, allocations: 310.6 kB / 0.8896 GB, free: 191 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/2.166, allocations: 61.45 kB / 0.8897 GB, free: 191 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001421/2.168, allocations: 1.134 MB / 0.8908 GB, free: 190.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005049/2.173, allocations: 1.547 MB / 0.8923 GB, free: 190.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004135/2.173, allocations: 157.7 kB / 0.8924 GB, free: 190.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04042/2.214, allocations: 9.159 MB / 0.9014 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/2.214, allocations: 0 / 0.9014 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02375/2.238, allocations: 3.829 MB / 0.9051 GB, free: 190.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/2.241, allocations: 157.1 kB / 0.9053 GB, free: 190.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/2.254, allocations: 4.201 MB / 0.9094 GB, free: 189.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/2.256, allocations: 1.877 MB / 0.9112 GB, free: 188.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/2.256, allocations: 0 / 0.9112 GB, free: 188.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)