Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.002039/0.002039, allocations: 175.9 kB / 7.454 MB, free: 2.34 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.041/1.041, allocations: 221.4 MB / 229.3 MB, free: 3.113 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.0008338/0.0008338, allocations: 94.58 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.3593/0.3593, allocations: 78.11 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1129/0.4722, allocations: 75.49 MB / 484.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.6981, allocations: 69.34 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.7992, allocations: 99.71 MB / 0.6382 GB, free: 5.195 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.7994, allocations: 79.95 kB / 0.6383 GB, free: 5.117 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.3327/1.132, allocations: 70.99 MB / 0.7076 GB, free: 95.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.132, allocations: 13.38 kB / 0.7076 GB, free: 95.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009449/1.142, allocations: 1.672 MB / 0.7093 GB, free: 94.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/1.144, allocations: 1.684 MB / 0.7109 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/1.145, allocations: 0.6207 MB / 0.7115 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/1.145, allocations: 125.7 kB / 0.7116 GB, free: 93.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003554/1.149, allocations: 2.24 MB / 0.7138 GB, free: 92.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/1.152, allocations: 2.301 MB / 0.7161 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/1.152, allocations: 5.344 kB / 0.7161 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/1.153, allocations: 0 / 0.7161 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/1.153, allocations: 49.12 kB / 0.7161 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/1.167, allocations: 10.02 MB / 0.7259 GB, free: 81.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/1.169, allocations: 1.587 MB / 0.7275 GB, free: 79.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/1.171, allocations: 1.466 MB / 0.7289 GB, free: 78.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/1.171, allocations: 49.72 kB / 0.7289 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.171, allocations: 60.5 kB / 0.729 GB, free: 78.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 3.456e-06/1.171, allocations: 0 / 0.729 GB, free: 78.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03386/1.205, allocations: 12.91 MB / 0.7416 GB, free: 65.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.205, allocations: 235.6 kB / 0.7418 GB, free: 65.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/1.207, allocations: 1.737 MB / 0.7435 GB, free: 63.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.207, allocations: 25.7 kB / 0.7436 GB, free: 63.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/1.207, allocations: 0.7037 MB / 0.7442 GB, free: 62.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000825/1.208, allocations: 0.812 MB / 0.745 GB, free: 61.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.208, allocations: 0 / 0.745 GB, free: 61.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/1.208, allocations: 398.6 kB / 0.7454 GB, free: 61.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/1.21, allocations: 1.204 MB / 0.7466 GB, free: 60.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/1.212, allocations: 1.511 MB / 0.7481 GB, free: 58.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.214, allocations: 1.332 MB / 0.7494 GB, free: 57.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.214, allocations: 4 kB / 0.7494 GB, free: 57.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.03471/1.249, allocations: 13.03 MB / 0.7621 GB, free: 44.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/1.249, allocations: 2.767 MB / 0.7648 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.249, allocations: 8 kB / 0.7648 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/1.264, allocations: 5.142 MB / 0.7698 GB, free: 36.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/1.266, allocations: 375.5 kB / 0.7702 GB, free: 35.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03353/1.3, allocations: 16.5 MB / 0.7863 GB, free: 19.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/1.303, allocations: 0.4978 MB / 0.7868 GB, free: 18.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/1.304, allocations: 83.98 kB / 0.7869 GB, free: 18.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/1.304, allocations: 7.938 kB / 0.7869 GB, free: 18.42 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03473/1.338, allocations: 12.7 MB / 0.7993 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/1.338, allocations: 12 kB / 0.7993 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/1.354, allocations: 5.142 MB / 0.8043 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.356, allocations: 363.5 kB / 0.8047 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03785/1.393, allocations: 16.49 MB / 0.8208 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/1.397, allocations: 485.9 kB / 0.8212 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/1.398, allocations: 83.98 kB / 0.8213 GB, free: 14.89 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.000631/1.398, allocations: 202.9 kB / 0.8215 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/1.399, allocations: 296.3 kB / 0.8218 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03795/1.437, allocations: 13.18 MB / 0.8346 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/1.437, allocations: 24 kB / 0.8347 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/1.437, allocations: 20 kB / 0.8347 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.437, allocations: 15.95 kB / 0.8347 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04229/1.479, allocations: 16.72 MB / 0.851 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.479, allocations: 4 kB / 0.851 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.481, allocations: 279.7 kB / 0.8513 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.496, allocations: 4.974 MB / 0.8562 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003533/1.496, allocations: 15.98 kB / 0.8562 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03282/1.529, allocations: 13.74 MB / 0.8696 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.529, allocations: 0 / 0.8696 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1734/1.702, allocations: 15.2 MB / 0.8844 GB, free: 187.5 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03904/1.741, allocations: 17.66 MB / 0.9017 GB, free: 186.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/1.742, allocations: 414.2 kB / 0.9021 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005041/1.743, allocations: 4.938 kB / 0.9021 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.745, allocations: 389.4 kB / 0.9025 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007873/1.746, allocations: 324 kB / 0.9028 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/1.747, allocations: 60.73 kB / 0.9028 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001445/1.748, allocations: 1.302 MB / 0.9041 GB, free: 186.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00441/1.752, allocations: 1.625 MB / 0.9057 GB, free: 186.5 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.0003501/1.753, allocations: 153.5 kB / 0.9058 GB, free: 186.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02341/1.776, allocations: 9.865 MB / 0.9155 GB, free: 185.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.776, allocations: 0 / 0.9155 GB, free: 185.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00992/1.786, allocations: 3.946 MB / 0.9193 GB, free: 185.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.788, allocations: 201.5 kB / 0.9195 GB, free: 185.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/1.798, allocations: 4.468 MB / 0.9239 GB, free: 184.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.799, allocations: 2.009 MB / 0.9258 GB, free: 183.3 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.799, allocations: 0.5938 kB / 0.9258 GB, free: 183.3 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)