Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",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.001987/0.001987, allocations: 183.2 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.056/1.056, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0008284/0.0008284, allocations: 94.69 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3598/0.3598, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1178/0.4776, allocations: 75.49 MB / 484.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.7108, allocations: 69.34 MB / 0.5408 GB, free: 21.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09989/0.8107, allocations: 101.8 MB / 0.6402 GB, free: 3.109 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.811, allocations: 79.97 kB / 0.6403 GB, free: 3.031 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.4258/1.237, allocations: 105.6 MB / 0.7434 GB, free: 64.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.237, allocations: 12 kB / 0.7434 GB, free: 64.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/1.254, allocations: 2.924 MB / 0.7463 GB, free: 61.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/1.258, allocations: 2.257 MB / 0.7485 GB, free: 59.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000714/1.259, allocations: 0.8792 MB / 0.7493 GB, free: 58.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009964/1.26, allocations: 203.9 kB / 0.7495 GB, free: 58.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006317/1.266, allocations: 3.451 MB / 0.7529 GB, free: 54.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005535/1.272, allocations: 3.602 MB / 0.7564 GB, free: 50.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-05/1.272, allocations: 0 / 0.7564 GB, free: 50.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/1.272, allocations: 0 / 0.7564 GB, free: 50.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/1.272, allocations: 84 kB / 0.7565 GB, free: 50.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02763/1.3, allocations: 18.59 MB / 0.7747 GB, free: 31.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/1.303, allocations: 2.271 MB / 0.7769 GB, free: 28.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/1.306, allocations: 2.116 MB / 0.7789 GB, free: 26.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003768/1.306, allocations: 74.91 kB / 0.779 GB, free: 26.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003352/1.309, allocations: 2.481 MB / 0.7814 GB, free: 24.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 5.25e-06/1.309, allocations: 0 / 0.7814 GB, free: 24.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.04979/1.359, allocations: 18.4 MB / 0.7994 GB, free: 5.812 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.359, allocations: 141.8 kB / 0.7995 GB, free: 5.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/1.363, allocations: 2.472 MB / 0.802 GB, free: 3.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006961/1.363, allocations: 25.7 kB / 0.802 GB, free: 3.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/1.364, allocations: 1.186 MB / 0.8031 GB, free: 1.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.366, allocations: 1.247 MB / 0.8044 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/1.366, allocations: 0 / 0.8044 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/1.366, allocations: 453.8 kB / 0.8048 GB, free: 220 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.369, allocations: 1.777 MB / 0.8065 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003284/1.372, allocations: 2.334 MB / 0.8088 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/1.376, allocations: 1.98 MB / 0.8107 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/1.376, allocations: 8 kB / 0.8107 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05377/1.429, allocations: 18.44 MB / 0.8288 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.43, allocations: 4 kB / 0.8288 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.43, allocations: 15.91 kB / 0.8288 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02419/1.454, allocations: 7.192 MB / 0.8358 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.457, allocations: 0.5735 MB / 0.8364 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05627/1.513, allocations: 22.24 MB / 0.8581 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005866/1.519, allocations: 0.6801 MB / 0.8587 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008001/1.52, allocations: 132 kB / 0.8589 GB, free: 8.422 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.000909/1.521, allocations: 199.1 kB / 0.8591 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.522, allocations: 466.2 kB / 0.8595 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05418/1.576, allocations: 18.83 MB / 0.8779 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/1.576, allocations: 36 kB / 0.8779 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-05/1.576, allocations: 31.91 kB / 0.878 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.259e-05/1.577, allocations: 23.86 kB / 0.878 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2159/1.792, allocations: 23.41 MB / 0.9008 GB, free: 163 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.793, allocations: 0 / 0.9008 GB, free: 163 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.795, allocations: 396.7 kB / 0.9012 GB, free: 163 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02188/1.817, allocations: 7.247 MB / 0.9083 GB, free: 162.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007713/1.818, allocations: 18.16 kB / 0.9083 GB, free: 162.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04867/1.866, allocations: 21.97 MB / 0.9298 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.866, allocations: 1.25 kB / 0.9298 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05688/1.923, allocations: 21.78 MB / 0.951 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05871/1.982, allocations: 25.28 MB / 0.9757 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.983, allocations: 0.5598 MB / 0.9763 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/1.984, allocations: 4 kB / 0.9763 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/1.988, allocations: 484.3 kB / 0.9767 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/1.989, allocations: 463.8 kB / 0.9772 GB, free: 142 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/1.99, allocations: 91.61 kB / 0.9773 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002199/1.992, allocations: 1.827 MB / 0.9791 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004686/1.997, allocations: 1.575 MB / 0.9806 GB, free: 138.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004917/1.997, allocations: 170.2 kB / 0.9808 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01837/2.016, allocations: 7.921 MB / 0.9885 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.016, allocations: 0.6875 kB / 0.9885 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01591/2.032, allocations: 5.924 MB / 0.9943 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/2.034, allocations: 244.9 kB / 0.9945 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/2.048, allocations: 6.039 MB / 1 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/2.05, allocations: 2.693 MB / 1.003 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/2.05, allocations: 0 / 1.003 GB, free: 118.4 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)