Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",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 3.2.3+maint.om/package.mo): time 0.004121/0.004121, 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 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008808, allocations: 91.53 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06981/0.06981, allocations: 12.19 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2828/0.2828, allocations: 78.05 MB / 449.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2604/0.5432, allocations: 76.1 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.678, allocations: 69.22 MB / 0.5813 GB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/1.07, allocations: 102.5 MB / 0.6814 GB, free: 6.523 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.07, allocations: 75.89 kB / 0.6815 GB, free: 6.484 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.2681/1.338, allocations: 100.2 MB / 0.7794 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.339, allocations: 15.94 kB / 0.7794 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01956/1.358, allocations: 2.92 MB / 0.7822 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/1.365, allocations: 2.294 MB / 0.7845 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009579/1.366, allocations: 0.8463 MB / 0.7853 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/1.367, allocations: 203.9 kB / 0.7855 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008485/1.375, allocations: 3.439 MB / 0.7889 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/1.384, allocations: 3.583 MB / 0.7924 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/1.384, allocations: 3.938 kB / 0.7924 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/1.384, allocations: 7.938 kB / 0.7924 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/1.384, allocations: 84 kB / 0.7924 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03945/1.424, allocations: 18.58 MB / 0.8106 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/1.428, allocations: 2.248 MB / 0.8128 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/1.432, allocations: 2.12 MB / 0.8149 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005461/1.433, allocations: 62.92 kB / 0.8149 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/1.433, allocations: 73.55 kB / 0.815 GB, free: 7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=380): time 6.062e-06/1.433, allocations: 4 kB / 0.815 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of matching and sorting (n=380): time 0.05925/1.492, allocations: 18.24 MB / 0.8328 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.492, allocations: 171.4 kB / 0.833 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00646/1.499, allocations: 2.432 MB / 0.8353 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001302/1.5, allocations: 33.7 kB / 0.8354 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/1.501, allocations: 1.174 MB / 0.8365 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003647/1.505, allocations: 1.243 MB / 0.8377 GB, free: 15.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/1.506, allocations: 0 / 0.8377 GB, free: 15.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004877/1.507, allocations: 441.6 kB / 0.8381 GB, free: 15.13 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.511, allocations: 1.757 MB / 0.8399 GB, free: 13.37 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/1.515, allocations: 2.314 MB / 0.8421 GB, free: 10.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.519, allocations: 1.959 MB / 0.844 GB, free: 8.883 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.519, allocations: 4 kB / 0.844 GB, free: 8.879 MB / 0.573 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.2863/1.805, allocations: 18.33 MB / 0.8619 GB, free: 184.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001139/1.806, allocations: 6.6 MB / 0.8684 GB, free: 177.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/1.807, allocations: 15.84 kB / 0.8684 GB, free: 177.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/1.83, allocations: 7.128 MB / 0.8754 GB, free: 177.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/1.833, allocations: 0.5459 MB / 0.8759 GB, free: 177.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05496/1.888, allocations: 22.07 MB / 0.8975 GB, free: 175.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.895, allocations: 0.6561 MB / 0.8981 GB, free: 175.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000791/1.896, allocations: 136 kB / 0.8982 GB, free: 175.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.896, allocations: 7.094 kB / 0.8982 GB, free: 175.8 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05066/1.947, allocations: 17.85 MB / 0.9157 GB, free: 174.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.167e-05/1.947, allocations: 15.34 kB / 0.9157 GB, free: 174.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02369/1.971, allocations: 7.127 MB / 0.9226 GB, free: 173.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.974, allocations: 0.5311 MB / 0.9232 GB, free: 173.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05744/2.031, allocations: 22.07 MB / 0.9447 GB, free: 161.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006488/2.038, allocations: 0.6346 MB / 0.9453 GB, free: 160.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/2.039, allocations: 131.3 kB / 0.9455 GB, free: 160.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 320 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001086/2.04, allocations: 193.2 kB / 0.9456 GB, free: 160.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/2.042, allocations: 455.9 kB / 0.9461 GB, free: 159.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05434/2.096, allocations: 18.66 MB / 0.9643 GB, free: 145.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/2.096, allocations: 36 kB / 0.9643 GB, free: 145.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/2.096, allocations: 28 kB / 0.9644 GB, free: 145.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.37e-05/2.096, allocations: 21.16 kB / 0.9644 GB, free: 145.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06344/2.16, allocations: 23.55 MB / 0.9874 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/2.16, allocations: 7.469 kB / 0.9874 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/2.163, allocations: 400.5 kB / 0.9878 GB, free: 126.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02278/2.185, allocations: 7.172 MB / 0.9948 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/2.187, allocations: 23.03 kB / 0.9948 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04928/2.236, allocations: 20.08 MB / 1.014 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/2.236, allocations: 0 / 1.014 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0585/2.294, allocations: 21.59 MB / 1.035 GB, free: 84.19 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06065/2.355, allocations: 25.08 MB / 1.06 GB, free: 59.11 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/2.357, allocations: 0.556 MB / 1.061 GB, free: 58.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/2.358, allocations: 0 / 1.061 GB, free: 58.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00432/2.362, allocations: 475.6 kB / 1.061 GB, free: 58.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/2.363, allocations: 450.2 kB / 1.061 GB, free: 57.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/2.363, allocations: 91.98 kB / 1.061 GB, free: 57.59 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002244/2.366, allocations: 1.797 MB / 1.063 GB, free: 55.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008093/2.374, allocations: 2.587 MB / 1.066 GB, free: 53.33 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006213/2.374, allocations: 156.8 kB / 1.066 GB, free: 53.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03888/2.413, allocations: 13.87 MB / 1.079 GB, free: 39.39 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.413, allocations: 0.8125 kB / 1.079 GB, free: 39.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01772/2.431, allocations: 5.797 MB / 1.085 GB, free: 33.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/2.434, allocations: 251 kB / 1.085 GB, free: 33.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/2.453, allocations: 6.251 MB / 1.091 GB, free: 27.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/2.456, allocations: 2.683 MB / 1.094 GB, free: 24.39 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/2.456, allocations: 0 / 1.094 GB, free: 24.39 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)