Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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 4.0.0+maint.om/package.mo): time 0.002882/0.002883, allocations: 183.6 kB / 7.459 MB, free: 2.512 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.224/1.224, allocations: 221.4 MB / 229.3 MB, free: 3.145 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.0009392/0.0009392, allocations: 99.48 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4463/0.4463, allocations: 78.07 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1416/0.588, allocations: 75.48 MB / 484.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.9244, allocations: 69.35 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/1.059, allocations: 98.36 MB / 0.6369 GB, free: 6.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.059, allocations: 75.95 kB / 0.6369 GB, free: 6.352 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.4199/1.479, allocations: 69.56 MB / 0.7049 GB, free: 95.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/1.479, allocations: 8.969 kB / 0.7049 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/1.492, allocations: 1.668 MB / 0.7065 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/1.498, allocations: 1.64 MB / 0.7081 GB, free: 94.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007972/1.498, allocations: 0.6276 MB / 0.7087 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008972/1.499, allocations: 123.4 kB / 0.7088 GB, free: 94.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006139/1.505, allocations: 2.221 MB / 0.711 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/1.51, allocations: 2.278 MB / 0.7132 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/1.51, allocations: 1.125 kB / 0.7132 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/1.51, allocations: 0 / 0.7132 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/1.51, allocations: 49.09 kB / 0.7133 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/1.531, allocations: 9.903 MB / 0.7229 GB, free: 84.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/1.534, allocations: 1.567 MB / 0.7245 GB, free: 82.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/1.536, allocations: 1.45 MB / 0.7259 GB, free: 81.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/1.536, allocations: 45.8 kB / 0.7259 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.536, allocations: 56.56 kB / 0.726 GB, free: 80.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=241): time 4.97e-06/1.536, allocations: 0 / 0.726 GB, free: 80.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=241): time 0.03758/1.574, allocations: 12.88 MB / 0.7386 GB, free: 68.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/1.574, allocations: 231.6 kB / 0.7388 GB, free: 67.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/1.577, allocations: 1.692 MB / 0.7404 GB, free: 66.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007005/1.577, allocations: 25.7 kB / 0.7405 GB, free: 66.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/1.578, allocations: 0.7074 MB / 0.7412 GB, free: 65.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/1.579, allocations: 0.8004 MB / 0.7419 GB, free: 64.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.58, allocations: 0 / 0.7419 GB, free: 64.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/1.58, allocations: 398.6 kB / 0.7423 GB, free: 64.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/1.582, allocations: 1.192 MB / 0.7435 GB, free: 62.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/1.584, allocations: 1.48 MB / 0.7449 GB, free: 61.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/1.586, allocations: 1.308 MB / 0.7462 GB, free: 60.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.586, allocations: 4 kB / 0.7462 GB, free: 60.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03709/1.623, allocations: 12.93 MB / 0.7588 GB, free: 47.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005365/1.623, allocations: 2.759 MB / 0.7615 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/1.623, allocations: 4 kB / 0.7615 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/1.64, allocations: 5.092 MB / 0.7665 GB, free: 39.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.642, allocations: 379.4 kB / 0.7669 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0364/1.678, allocations: 15.14 MB / 0.7816 GB, free: 23.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/1.683, allocations: 0.4978 MB / 0.7821 GB, free: 22.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005753/1.684, allocations: 87.97 kB / 0.7822 GB, free: 22.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.684, allocations: 4 kB / 0.7822 GB, free: 22.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03597/1.72, allocations: 12.59 MB / 0.7945 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.897e-05/1.72, allocations: 4 kB / 0.7945 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01591/1.736, allocations: 5.079 MB / 0.7995 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.738, allocations: 371.4 kB / 0.7998 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04031/1.778, allocations: 15.14 MB / 0.8146 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.783, allocations: 481.9 kB / 0.8151 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006551/1.784, allocations: 87.97 kB / 0.8152 GB, free: 4.965 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: 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 order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (208): * Single equations (assignments): 203 * 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008069/1.785, allocations: 199.8 kB / 0.8154 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008653/1.785, allocations: 300.3 kB / 0.8156 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04138/1.827, allocations: 13.12 MB / 0.8285 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/1.827, allocations: 31.91 kB / 0.8285 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-05/1.827, allocations: 23.94 kB / 0.8285 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.99e-05/1.827, allocations: 11.95 kB / 0.8285 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04881/1.876, allocations: 16.61 MB / 0.8447 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.876, allocations: 0 / 0.8447 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.878, allocations: 275.6 kB / 0.845 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01714/1.895, allocations: 5.007 MB / 0.8499 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009402/1.896, allocations: 19.98 kB / 0.8499 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03786/1.934, allocations: 13.69 MB / 0.8633 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.934, allocations: 0 / 0.8633 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04577/1.98, allocations: 15.12 MB / 0.8781 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2423/2.222, allocations: 17.55 MB / 0.8952 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/2.224, allocations: 406.7 kB / 0.8956 GB, free: 193.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007986/2.225, allocations: 9.531 kB / 0.8956 GB, free: 193.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/2.228, allocations: 393.6 kB / 0.896 GB, free: 193.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008979/2.229, allocations: 315.7 kB / 0.8963 GB, free: 193.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/2.229, allocations: 65.27 kB / 0.8963 GB, free: 193.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001811/2.231, allocations: 1.267 MB / 0.8976 GB, free: 192.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00683/2.238, allocations: 1.599 MB / 0.8991 GB, free: 192.9 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005535/2.238, allocations: 158.3 kB / 0.8993 GB, free: 192.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02772/2.266, allocations: 9.567 MB / 0.9086 GB, free: 192.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.266, allocations: 0 / 0.9086 GB, free: 192.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01259/2.279, allocations: 3.951 MB / 0.9125 GB, free: 191.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/2.281, allocations: 191.6 kB / 0.9127 GB, free: 191.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/2.295, allocations: 4.2 MB / 0.9168 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/2.298, allocations: 1.978 MB / 0.9187 GB, free: 189.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.673e-06/2.298, allocations: 0 / 0.9187 GB, free: 189.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)