Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") [: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.00174/0.00174, allocations: 179.5 kB / 7.458 MB, free: 2.5 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.005/1.005, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008291/0.0008291, allocations: 101.1 kB / 280.1 MB, free: 1.18 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3396/0.3396, allocations: 78.11 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.709e-06, allocations: 0 / 484.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 69.34 MB / 0.5408 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09491/0.3041, allocations: 99.09 MB / 0.6375 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3043, allocations: 79.95 kB / 0.6376 GB, free: 5.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3/0.6043, allocations: 65.48 MB / 0.7015 GB, free: 97.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.6044, allocations: 57.44 kB / 0.7016 GB, free: 97.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01057/0.615, allocations: 4.158 MB / 0.7056 GB, free: 96.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.6151, allocations: 9.422 kB / 0.7057 GB, free: 96.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009556/0.6246, allocations: 1.669 MB / 0.7073 GB, free: 95.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.6271, allocations: 1.653 MB / 0.7089 GB, free: 94.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/0.6276, allocations: 0.62 MB / 0.7095 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.628, allocations: 126.2 kB / 0.7096 GB, free: 93.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00366/0.6316, allocations: 2.222 MB / 0.7118 GB, free: 92.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.6352, allocations: 2.281 MB / 0.714 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.6352, allocations: 0 / 0.714 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.6355, allocations: 4.938 kB / 0.714 GB, free: 91.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.6355, allocations: 48.66 kB / 0.7141 GB, free: 91.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.6495, allocations: 9.896 MB / 0.7237 GB, free: 83.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.6516, allocations: 1.571 MB / 0.7253 GB, free: 81.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.6533, allocations: 1.45 MB / 0.7267 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.6535, allocations: 49.7 kB / 0.7267 GB, free: 80.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.6536, allocations: 56.56 kB / 0.7268 GB, free: 80 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 3.256e-06/0.6536, allocations: 0 / 0.7268 GB, free: 80 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.03384/0.6874, allocations: 12.88 MB / 0.7394 GB, free: 67.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6875, allocations: 239.6 kB / 0.7396 GB, free: 66.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.6891, allocations: 1.681 MB / 0.7412 GB, free: 65.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.6893, allocations: 25.7 kB / 0.7413 GB, free: 65.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.6895, allocations: 0.7035 MB / 0.7419 GB, free: 64.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007818/0.6903, allocations: 0.8004 MB / 0.7427 GB, free: 63.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.6905, allocations: 4 kB / 0.7427 GB, free: 63.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.6906, allocations: 398.5 kB / 0.7431 GB, free: 63.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.6923, allocations: 1.192 MB / 0.7443 GB, free: 62.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.6941, allocations: 1.488 MB / 0.7457 GB, free: 60.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.6959, allocations: 1.314 MB / 0.747 GB, free: 59.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6959, allocations: 4 kB / 0.747 GB, free: 59.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03356/0.7294, allocations: 12.94 MB / 0.7597 GB, free: 46.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.7298, allocations: 2.758 MB / 0.7623 GB, free: 43.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7298, allocations: 7.984 kB / 0.7624 GB, free: 43.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01422/0.744, allocations: 5.053 MB / 0.7673 GB, free: 38.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.7457, allocations: 375.5 kB / 0.7676 GB, free: 37.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03155/0.7773, allocations: 15.18 MB / 0.7825 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.7803, allocations: 0.4939 MB / 0.783 GB, free: 21.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.7805, allocations: 83.97 kB / 0.783 GB, free: 21.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-06/0.7805, allocations: 4 kB / 0.783 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03316/0.8137, allocations: 12.61 MB / 0.7954 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8137, allocations: 4 kB / 0.7954 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/0.8278, allocations: 5.05 MB / 0.8003 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.8293, allocations: 367.5 kB / 0.8006 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03397/0.8633, allocations: 15.16 MB / 0.8154 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.8664, allocations: 481.9 kB / 0.8159 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.8667, allocations: 83.97 kB / 0.816 GB, free: 3.965 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.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 (210): * Single equations (assignments): 205 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005466/0.8672, allocations: 209.3 kB / 0.8162 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004904/0.8677, allocations: 292.3 kB / 0.8165 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/0.9046, allocations: 13.13 MB / 0.8293 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.9046, allocations: 24 kB / 0.8293 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.9046, allocations: 20 kB / 0.8293 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.9047, allocations: 11.95 kB / 0.8293 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04048/0.9451, allocations: 16.63 MB / 0.8456 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.9452, allocations: 4 kB / 0.8456 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.9466, allocations: 283.7 kB / 0.8458 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/0.961, allocations: 4.998 MB / 0.8507 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/0.9613, allocations: 15.98 kB / 0.8507 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03138/0.9927, allocations: 13.7 MB / 0.8641 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9927, allocations: 0 / 0.8641 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0399/1.033, allocations: 15.12 MB / 0.8789 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/1.033, allocations: 408.8 kB / 0.8793 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/1.034, allocations: 4 kB / 0.8793 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.037, allocations: 387.7 kB / 0.8797 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008068/1.037, allocations: 321.3 kB / 0.88 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.038, allocations: 63.98 kB / 0.88 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001539/1.039, allocations: 1.26 MB / 0.8813 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.1309/1.17, allocations: 1.586 MB / 0.8828 GB, free: 201 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (163): * Single equations (assignments): 160 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003793/1.17, allocations: 151.6 kB / 0.883 GB, free: 200.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02162/1.192, allocations: 9.533 MB / 0.8923 GB, free: 200.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.192, allocations: 0 / 0.8923 GB, free: 200.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009475/1.202, allocations: 3.943 MB / 0.8961 GB, free: 200 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.203, allocations: 194.9 kB / 0.8963 GB, free: 200 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/1.211, allocations: 4.251 MB / 0.9004 GB, free: 198.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.212, allocations: 1.939 MB / 0.9023 GB, free: 198 MB / 0.5573 GB Notification: Performance of SimCode: time 3.3e-07/1.212, allocations: 0 / 0.9023 GB, free: 198 MB / 0.5573 GB Notification: Performance of Templates: time 0.08799/1.3, allocations: 76.01 MB / 0.9766 GB, free: 164 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)