Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_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.003025/0.003026, allocations: 182.6 kB / 7.458 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.301/1.301, allocations: 221.4 MB / 229.3 MB, free: 3.246 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.0009535/0.0009535, allocations: 94.75 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4574/0.4574, allocations: 78.06 MB / 409 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1491/0.6065, allocations: 75.49 MB / 484.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.9517, allocations: 69.34 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/1.082, allocations: 101.6 MB / 0.6401 GB, free: 3.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.083, allocations: 75.95 kB / 0.6401 GB, free: 3.066 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.5294/1.612, allocations: 104.7 MB / 0.7424 GB, free: 65.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/1.612, allocations: 8 kB / 0.7424 GB, free: 65.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/1.631, allocations: 2.935 MB / 0.7453 GB, free: 62.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006623/1.638, allocations: 2.298 MB / 0.7475 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009115/1.639, allocations: 0.8579 MB / 0.7484 GB, free: 59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/1.64, allocations: 207.9 kB / 0.7486 GB, free: 58.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007597/1.648, allocations: 3.451 MB / 0.7519 GB, free: 55.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006144/1.654, allocations: 3.606 MB / 0.7555 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-05/1.654, allocations: 4 kB / 0.7555 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/1.654, allocations: 4 kB / 0.7555 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/1.654, allocations: 84 kB / 0.7556 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03468/1.689, allocations: 18.69 MB / 0.7738 GB, free: 31.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/1.693, allocations: 2.271 MB / 0.776 GB, free: 29.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/1.696, allocations: 2.124 MB / 0.7781 GB, free: 27.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/1.696, allocations: 70.92 kB / 0.7782 GB, free: 27.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.696, allocations: 77.55 kB / 0.7782 GB, free: 27.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 6.061e-06/1.696, allocations: 0 / 0.7782 GB, free: 27.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05175/1.748, allocations: 18.28 MB / 0.7961 GB, free: 8.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/1.748, allocations: 175.5 kB / 0.7963 GB, free: 8.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/1.752, allocations: 2.476 MB / 0.7987 GB, free: 6.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00107/1.753, allocations: 25.7 kB / 0.7987 GB, free: 6.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/1.754, allocations: 1.178 MB / 0.7998 GB, free: 5.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002452/1.756, allocations: 1.254 MB / 0.8011 GB, free: 3.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/1.757, allocations: 0 / 0.8011 GB, free: 3.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/1.757, allocations: 449.7 kB / 0.8015 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/1.759, allocations: 1.773 MB / 0.8032 GB, free: 1.574 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/1.763, allocations: 2.338 MB / 0.8055 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/1.766, allocations: 1.965 MB / 0.8074 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.766, allocations: 8 kB / 0.8074 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.05994/1.826, allocations: 18.43 MB / 0.8254 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003195/1.83, allocations: 6.62 MB / 0.8319 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.666e-05/1.83, allocations: 12 kB / 0.8319 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02694/1.857, allocations: 7.22 MB / 0.839 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/1.86, allocations: 0.5305 MB / 0.8395 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06276/1.923, allocations: 23.44 MB / 0.8624 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/1.93, allocations: 0.6645 MB / 0.863 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009756/1.931, allocations: 132 kB / 0.8632 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.931, allocations: 4 kB / 0.8632 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05676/1.987, allocations: 17.95 MB / 0.8807 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.703e-05/1.988, allocations: 16 kB / 0.8807 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02652/2.014, allocations: 7.216 MB / 0.8877 GB, free: 9.918 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/2.017, allocations: 0.5343 MB / 0.8883 GB, free: 9.383 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2699/2.287, allocations: 23.43 MB / 0.9111 GB, free: 174.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006048/2.293, allocations: 0.6299 MB / 0.9118 GB, free: 174.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000664/2.294, allocations: 135 kB / 0.9119 GB, free: 174.4 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 322 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.000987/2.295, allocations: 207.3 kB / 0.9121 GB, free: 174.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/2.296, allocations: 453.7 kB / 0.9125 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05286/2.349, allocations: 18.7 MB / 0.9308 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/2.349, allocations: 39.5 kB / 0.9308 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/2.349, allocations: 27.28 kB / 0.9308 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/2.349, allocations: 20.2 kB / 0.9309 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06479/2.414, allocations: 23.64 MB / 0.954 GB, free: 172.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/2.414, allocations: 0 / 0.954 GB, free: 172.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/2.417, allocations: 417.1 kB / 0.9544 GB, free: 172.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02434/2.442, allocations: 7.191 MB / 0.9614 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000891/2.443, allocations: 20.64 kB / 0.9614 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04987/2.493, allocations: 20.08 MB / 0.981 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/2.493, allocations: 0 / 0.981 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05827/2.551, allocations: 21.65 MB / 1.002 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06394/2.615, allocations: 25.17 MB / 1.027 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/2.616, allocations: 0.5595 MB / 1.027 GB, free: 127.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/2.618, allocations: 10.58 kB / 1.027 GB, free: 127.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004781/2.622, allocations: 474.1 kB / 1.028 GB, free: 126.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/2.624, allocations: 454.9 kB / 1.028 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003518/2.624, allocations: 91.66 kB / 1.028 GB, free: 126.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002567/2.627, allocations: 1.836 MB / 1.03 GB, free: 124.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00904/2.636, allocations: 2.606 MB / 1.033 GB, free: 122.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006841/2.637, allocations: 166.4 kB / 1.033 GB, free: 122.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03891/2.675, allocations: 14.18 MB / 1.047 GB, free: 109.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.676, allocations: 2.688 kB / 1.047 GB, free: 109.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0179/2.693, allocations: 5.83 MB / 1.052 GB, free: 104.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/2.698, allocations: 260.3 kB / 1.053 GB, free: 104.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/2.716, allocations: 6.435 MB / 1.059 GB, free: 98.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/2.719, allocations: 2.709 MB / 1.061 GB, free: 96.29 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/2.719, allocations: 0 / 1.061 GB, free: 96.29 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)