Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.002839/0.002839, allocations: 183.6 kB / 7.46 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.223/1.223, allocations: 221.4 MB / 229.3 MB, free: 3.238 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.0009676/0.0009677, allocations: 91.7 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4714/0.4714, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1718/0.6432, allocations: 75.65 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.9911, allocations: 69.51 MB / 0.542 GB, free: 20.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/1.123, allocations: 99.08 MB / 0.6387 GB, free: 4.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/1.123, allocations: 79.95 kB / 0.6388 GB, free: 4.73 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.4622/1.586, allocations: 65.92 MB / 0.7032 GB, free: 97.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.586, allocations: 12.91 kB / 0.7032 GB, free: 97.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/1.598, allocations: 1.644 MB / 0.7048 GB, free: 96.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/1.604, allocations: 1.498 MB / 0.7062 GB, free: 96.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008595/1.605, allocations: 0.6184 MB / 0.7069 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/1.606, allocations: 124.6 kB / 0.707 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007067/1.613, allocations: 2.091 MB / 0.709 GB, free: 94.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00795/1.621, allocations: 2.164 MB / 0.7111 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.246e-05/1.621, allocations: 0 / 0.7111 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006747/1.622, allocations: 0 / 0.7111 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/1.622, allocations: 45.62 kB / 0.7112 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/1.647, allocations: 9.582 MB / 0.7205 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/1.651, allocations: 1.97 MB / 0.7224 GB, free: 84.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/1.653, allocations: 1.382 MB / 0.7238 GB, free: 83.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/1.653, allocations: 41.47 kB / 0.7238 GB, free: 83.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.653, allocations: 64.5 kB / 0.7239 GB, free: 82.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.057e-06/1.653, allocations: 0 / 0.7239 GB, free: 82.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03641/1.689, allocations: 12.74 MB / 0.7363 GB, free: 70.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.689, allocations: 128.8 kB / 0.7365 GB, free: 70.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/1.692, allocations: 1.527 MB / 0.738 GB, free: 68.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00088/1.693, allocations: 25.7 kB / 0.738 GB, free: 68.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/1.693, allocations: 0.6635 MB / 0.7386 GB, free: 67.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.694, allocations: 0.7619 MB / 0.7394 GB, free: 67.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.695, allocations: 0 / 0.7394 GB, free: 67.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/1.695, allocations: 394.2 kB / 0.7398 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.697, allocations: 1.133 MB / 0.7409 GB, free: 65.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/1.698, allocations: 1.428 MB / 0.7423 GB, free: 64.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/1.7, allocations: 1.248 MB / 0.7435 GB, free: 62.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.7, allocations: 4 kB / 0.7435 GB, free: 62.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03747/1.738, allocations: 12.92 MB / 0.7561 GB, free: 49.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000529/1.739, allocations: 2.73 MB / 0.7588 GB, free: 46.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.739, allocations: 8 kB / 0.7588 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/1.756, allocations: 5.277 MB / 0.7639 GB, free: 41.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.758, allocations: 316.3 kB / 0.7642 GB, free: 41.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03897/1.797, allocations: 16.84 MB / 0.7807 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.801, allocations: 485.8 kB / 0.7811 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004553/1.802, allocations: 71.98 kB / 0.7812 GB, free: 23.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.802, allocations: 4 kB / 0.7812 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03661/1.838, allocations: 12.61 MB / 0.7935 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.329e-05/1.839, allocations: 9.016 kB / 0.7935 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/1.856, allocations: 5.271 MB / 0.7987 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.858, allocations: 307.5 kB / 0.799 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04387/1.902, allocations: 16.84 MB / 0.8154 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/1.906, allocations: 458 kB / 0.8159 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/1.907, allocations: 83.91 kB / 0.8159 GB, free: 3.926 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 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.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * 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: 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007646/1.908, allocations: 149.5 kB / 0.8161 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.909, allocations: 272.6 kB / 0.8163 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04054/1.949, allocations: 13 MB / 0.829 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/1.949, allocations: 24 kB / 0.8291 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/1.949, allocations: 16 kB / 0.8291 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.949, allocations: 23.8 kB / 0.8291 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04865/1.998, allocations: 16.21 MB / 0.8449 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/1.998, allocations: 4 kB / 0.8449 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/2, allocations: 255.8 kB / 0.8452 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01628/2.016, allocations: 4.983 MB / 0.85 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007762/2.017, allocations: 15.98 kB / 0.8501 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03581/2.053, allocations: 13.7 MB / 0.8634 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/2.053, allocations: 4 kB / 0.8634 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04477/2.098, allocations: 14.97 MB / 0.8781 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0492/2.147, allocations: 17.32 MB / 0.895 GB, free: 2.742 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/2.149, allocations: 385 kB / 0.8953 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/2.15, allocations: 8 kB / 0.8954 GB, free: 2.336 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/2.154, allocations: 367.7 kB / 0.8957 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/2.155, allocations: 313.4 kB / 0.896 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/2.155, allocations: 63.92 kB / 0.8961 GB, free: 1.609 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002075/2.158, allocations: 1.146 MB / 0.8972 GB, free: 464 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.2479/2.405, allocations: 1.555 MB / 0.8987 GB, free: 217 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.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 (149): * Single equations (assignments): 148 * 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.0006719/2.406, allocations: 150.3 kB / 0.8988 GB, free: 216.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02668/2.433, allocations: 9.425 MB / 0.9081 GB, free: 216.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/2.433, allocations: 2.844 kB / 0.9081 GB, free: 216.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/2.445, allocations: 3.837 MB / 0.9118 GB, free: 216.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/2.447, allocations: 152.5 kB / 0.9119 GB, free: 216.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/2.461, allocations: 4.309 MB / 0.9162 GB, free: 214.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/2.463, allocations: 1.886 MB / 0.918 GB, free: 214.1 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/2.463, allocations: 0 / 0.918 GB, free: 214.1 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)