Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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 3.2.3+maint.om/package.mo): time 0.002863/0.002862, allocations: 182.6 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 93.12 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08183/0.08183, allocations: 12.2 MB / 321.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4183/0.4183, allocations: 78.04 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3123/0.7306, allocations: 76.1 MB / 0.5137 GB, free: 30.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.8608, allocations: 69.22 MB / 0.5813 GB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/1.225, allocations: 99.19 MB / 0.6781 GB, free: 9.117 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.225, allocations: 81.11 kB / 0.6782 GB, free: 9.105 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.1493/1.374, allocations: 35.24 MB / 0.7126 GB, free: 12.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.374, allocations: 11.94 kB / 0.7126 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/1.381, allocations: 0.5775 MB / 0.7132 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/1.383, allocations: 0.788 MB / 0.714 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/1.384, allocations: 217.7 kB / 0.7142 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/1.384, allocations: 47.91 kB / 0.7142 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002703/1.387, allocations: 0.8013 MB / 0.715 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/1.39, allocations: 0.8249 MB / 0.7158 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/1.39, allocations: 0 / 0.7158 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/1.39, allocations: 0 / 0.7158 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/1.39, allocations: 27.92 kB / 0.7158 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/1.402, allocations: 3.804 MB / 0.7196 GB, free: 6.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.404, allocations: 0.5965 MB / 0.7201 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/1.405, allocations: 0.5083 MB / 0.7206 GB, free: 6.234 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/1.405, allocations: 28.53 kB / 0.7207 GB, free: 6.211 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/1.405, allocations: 47.22 kB / 0.7207 GB, free: 6.156 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 4.84e-06/1.405, allocations: 0 / 0.7207 GB, free: 6.156 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01951/1.425, allocations: 4.041 MB / 0.7247 GB, free: 2.625 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.425, allocations: 141.3 kB / 0.7248 GB, free: 2.457 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/1.428, allocations: 0.8116 MB / 0.7256 GB, free: 1.855 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/1.428, allocations: 25.7 kB / 0.7256 GB, free: 1.824 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/1.428, allocations: 311.6 kB / 0.7259 GB, free: 1.562 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/1.429, allocations: 327.6 kB / 0.7262 GB, free: 1.273 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.43, allocations: 7.938 kB / 0.7262 GB, free: 1.266 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002833/1.43, allocations: 340.7 kB / 0.7266 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/1.431, allocations: 431.8 kB / 0.727 GB, free: 0.707 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.433, allocations: 0.5505 MB / 0.7275 GB, free: 336 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.434, allocations: 488.9 kB / 0.728 GB, free: 56 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.434, allocations: 4 kB / 0.728 GB, free: 52 kB / 458.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01973/1.454, allocations: 4.167 MB / 0.732 GB, free: 12.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006776/1.455, allocations: 1.15 MB / 0.7332 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/1.455, allocations: 3.906 kB / 0.7332 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006313/1.461, allocations: 1.501 MB / 0.7346 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.462, allocations: 167.4 kB / 0.7348 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.476, allocations: 5.831 MB / 0.7405 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.478, allocations: 179.1 kB / 0.7407 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.478, allocations: 39.98 kB / 0.7407 GB, free: 4.297 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.478, allocations: 4 kB / 0.7407 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01283/1.491, allocations: 4.003 MB / 0.7446 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/1.491, allocations: 7.984 kB / 0.7446 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/1.496, allocations: 1.5 MB / 0.7461 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.498, allocations: 163.8 kB / 0.7462 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.511, allocations: 5.83 MB / 0.7519 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.513, allocations: 171.2 kB / 0.7521 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.513, allocations: 39.98 kB / 0.7521 GB, free: 8.438 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004504/1.514, allocations: 163 kB / 0.7523 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/1.514, allocations: 122.5 kB / 0.7524 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.527, allocations: 4.118 MB / 0.7564 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/1.527, allocations: 12 kB / 0.7564 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.527, allocations: 7.984 kB / 0.7564 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/1.527, allocations: 3.984 kB / 0.7565 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.542, allocations: 5.606 MB / 0.7619 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.542, allocations: 0 / 0.7619 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/1.543, allocations: 115.8 kB / 0.762 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/1.548, allocations: 1.457 MB / 0.7635 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/1.549, allocations: 7.984 kB / 0.7635 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/1.56, allocations: 5.227 MB / 0.7686 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/1.56, allocations: 7.922 kB / 0.7686 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01438/1.575, allocations: 4.871 MB / 0.7733 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01532/1.59, allocations: 5.959 MB / 0.7792 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/1.591, allocations: 223.3 kB / 0.7794 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.591, allocations: 8 kB / 0.7794 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.592, allocations: 131.9 kB / 0.7795 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/1.593, allocations: 108.5 kB / 0.7796 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/1.593, allocations: 28 kB / 0.7796 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008381/1.594, allocations: 0.6174 MB / 0.7802 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002847/1.596, allocations: 0.6045 MB / 0.7808 GB, free: 10.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003041/1.597, allocations: 140.3 kB / 0.781 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008955/1.606, allocations: 3.363 MB / 0.7842 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.606, allocations: 0 / 0.7842 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/1.61, allocations: 1.366 MB / 0.7856 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.611, allocations: 88.66 kB / 0.7857 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/1.616, allocations: 1.806 MB / 0.7874 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/1.617, allocations: 1.221 MB / 0.7886 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/1.617, allocations: 3.938 kB / 0.7886 GB, free: 2.594 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)