Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.00227/0.00227, allocations: 181.6 kB / 7.457 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.205/1.205, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0008791/0.0008791, allocations: 91.97 kB / 280.1 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4783/0.4783, allocations: 78.07 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1636/0.642, allocations: 75.48 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.9919, allocations: 69.36 MB / 0.5408 GB, free: 21.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/1.123, allocations: 99.73 MB / 0.6382 GB, free: 5.008 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.123, allocations: 79.95 kB / 0.6383 GB, free: 4.93 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.4514/1.574, allocations: 70.99 MB / 0.7076 GB, free: 95.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.574, allocations: 12.84 kB / 0.7076 GB, free: 95.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/1.586, allocations: 1.668 MB / 0.7092 GB, free: 94.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/1.593, allocations: 1.684 MB / 0.7109 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006599/1.594, allocations: 0.628 MB / 0.7115 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007837/1.595, allocations: 128.8 kB / 0.7116 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00479/1.599, allocations: 2.237 MB / 0.7138 GB, free: 91.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/1.604, allocations: 2.296 MB / 0.7161 GB, free: 90.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/1.604, allocations: 1.062 kB / 0.7161 GB, free: 90.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/1.604, allocations: 1.062 kB / 0.7161 GB, free: 90.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/1.604, allocations: 48.91 kB / 0.7161 GB, free: 90.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/1.625, allocations: 10.01 MB / 0.7259 GB, free: 81.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/1.628, allocations: 1.591 MB / 0.7274 GB, free: 79.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/1.63, allocations: 1.468 MB / 0.7289 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/1.63, allocations: 49.7 kB / 0.7289 GB, free: 78.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.63, allocations: 60.5 kB / 0.729 GB, free: 78.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 5.711e-06/1.63, allocations: 0 / 0.729 GB, free: 78.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03789/1.668, allocations: 12.91 MB / 0.7416 GB, free: 65.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/1.668, allocations: 235.6 kB / 0.7418 GB, free: 64.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/1.671, allocations: 1.733 MB / 0.7435 GB, free: 63.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006738/1.672, allocations: 25.7 kB / 0.7435 GB, free: 63.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/1.672, allocations: 0.7037 MB / 0.7442 GB, free: 62.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.674, allocations: 0.8081 MB / 0.745 GB, free: 61.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.674, allocations: 0 / 0.745 GB, free: 61.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/1.674, allocations: 402.6 kB / 0.7454 GB, free: 61.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/1.676, allocations: 1.212 MB / 0.7466 GB, free: 59.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/1.678, allocations: 1.508 MB / 0.748 GB, free: 58.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/1.68, allocations: 1.332 MB / 0.7493 GB, free: 57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.68, allocations: 4 kB / 0.7493 GB, free: 56.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.03868/1.719, allocations: 13.04 MB / 0.7621 GB, free: 43.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006433/1.72, allocations: 2.769 MB / 0.7648 GB, free: 40.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.72, allocations: 11.94 kB / 0.7648 GB, free: 40.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/1.737, allocations: 5.138 MB / 0.7698 GB, free: 35.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.739, allocations: 379.4 kB / 0.7702 GB, free: 35.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03846/1.778, allocations: 16.5 MB / 0.7863 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00493/1.783, allocations: 0.5094 MB / 0.7868 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/1.783, allocations: 87.92 kB / 0.7869 GB, free: 18.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/1.783, allocations: 0 / 0.7869 GB, free: 18.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03755/1.821, allocations: 12.69 MB / 0.7992 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/1.821, allocations: 8 kB / 0.7993 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/1.839, allocations: 5.138 MB / 0.8043 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/1.842, allocations: 363.5 kB / 0.8046 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04331/1.885, allocations: 16.49 MB / 0.8207 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/1.89, allocations: 489.9 kB / 0.8212 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/1.891, allocations: 79.98 kB / 0.8213 GB, free: 14.6 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.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 (213): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008378/1.892, allocations: 217.1 kB / 0.8215 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.893, allocations: 292.3 kB / 0.8218 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0415/1.934, allocations: 13.17 MB / 0.8346 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/1.934, allocations: 28 kB / 0.8346 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/1.934, allocations: 19.94 kB / 0.8347 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.657e-05/1.935, allocations: 11.95 kB / 0.8347 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04883/1.983, allocations: 16.72 MB / 0.851 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.983, allocations: 0 / 0.851 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/1.986, allocations: 275.6 kB / 0.8513 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0171/2.003, allocations: 4.974 MB / 0.8561 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/2.004, allocations: 15.98 kB / 0.8561 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03657/2.041, allocations: 13.75 MB / 0.8696 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.041, allocations: 0 / 0.8696 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2602/2.301, allocations: 15.2 MB / 0.8844 GB, free: 186.4 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04654/2.347, allocations: 17.66 MB / 0.9017 GB, free: 185.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/2.349, allocations: 411.5 kB / 0.902 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/2.35, allocations: 9.656 kB / 0.9021 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/2.354, allocations: 393 kB / 0.9024 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008929/2.355, allocations: 318.6 kB / 0.9027 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/2.355, allocations: 60.11 kB / 0.9028 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001831/2.357, allocations: 1.311 MB / 0.9041 GB, free: 185.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007874/2.364, allocations: 1.623 MB / 0.9057 GB, free: 185.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005707/2.365, allocations: 148.7 kB / 0.9058 GB, free: 185.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02778/2.393, allocations: 9.869 MB / 0.9154 GB, free: 184.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/2.393, allocations: 0 / 0.9154 GB, free: 184.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/2.405, allocations: 3.943 MB / 0.9193 GB, free: 184.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/2.407, allocations: 192 kB / 0.9195 GB, free: 184.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/2.42, allocations: 4.467 MB / 0.9238 GB, free: 182.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/2.422, allocations: 2.014 MB / 0.9258 GB, free: 182.2 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/2.422, allocations: 0 / 0.9258 GB, free: 182.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)