Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.001876/0.001876, allocations: 174.3 kB / 7.458 MB, free: 2.488 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.052/1.052, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0009157/0.0009158, allocations: 100.6 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3477/0.3477, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.725e-06, allocations: 4 kB / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2158, allocations: 69.35 MB / 0.5408 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0965/0.3123, allocations: 99.49 MB / 0.6379 GB, free: 5.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.3125, allocations: 79.95 kB / 0.638 GB, free: 5.383 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3092/0.6217, allocations: 66.29 MB / 0.7027 GB, free: 97.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.6219, allocations: 70 kB / 0.7028 GB, free: 97.77 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01187/0.6338, allocations: 4.179 MB / 0.7069 GB, free: 95.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.6338, allocations: 8.75 kB / 0.7069 GB, free: 95.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.6439, allocations: 1.672 MB / 0.7085 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.6472, allocations: 1.668 MB / 0.7101 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005739/0.6477, allocations: 0.6242 MB / 0.7108 GB, free: 93.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/0.6483, allocations: 131 kB / 0.7109 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003947/0.6523, allocations: 2.231 MB / 0.7131 GB, free: 92.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.6562, allocations: 2.285 MB / 0.7153 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.6562, allocations: 9.078 kB / 0.7153 GB, free: 91.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.6565, allocations: 1.062 kB / 0.7153 GB, free: 91.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.6565, allocations: 49.44 kB / 0.7153 GB, free: 91.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.6719, allocations: 9.979 MB / 0.7251 GB, free: 82.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.6741, allocations: 1.571 MB / 0.7266 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.6758, allocations: 1.474 MB / 0.7281 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.6761, allocations: 45.72 kB / 0.7281 GB, free: 79.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.6761, allocations: 56.56 kB / 0.7282 GB, free: 79.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.298e-06/0.6761, allocations: 3.844 kB / 0.7282 GB, free: 79.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03389/0.71, allocations: 12.9 MB / 0.7408 GB, free: 66.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.7101, allocations: 231.6 kB / 0.741 GB, free: 66.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.7119, allocations: 1.721 MB / 0.7427 GB, free: 64.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.7121, allocations: 25.7 kB / 0.7427 GB, free: 64.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.7123, allocations: 0.7037 MB / 0.7434 GB, free: 63.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000934/0.7133, allocations: 0.8081 MB / 0.7442 GB, free: 62.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.7135, allocations: 3.938 kB / 0.7442 GB, free: 62.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.7136, allocations: 394.6 kB / 0.7445 GB, free: 62.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.7153, allocations: 1.208 MB / 0.7457 GB, free: 61.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.7172, allocations: 1.496 MB / 0.7472 GB, free: 59.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.7192, allocations: 1.326 MB / 0.7485 GB, free: 58.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.7192, allocations: 3.938 kB / 0.7485 GB, free: 58.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03172/0.7509, allocations: 12.09 MB / 0.7603 GB, free: 46.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.7513, allocations: 2.761 MB / 0.763 GB, free: 43.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.7513, allocations: 8 kB / 0.763 GB, free: 43.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/0.7652, allocations: 4.824 MB / 0.7677 GB, free: 38.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.7689, allocations: 0.718 MB / 0.7684 GB, free: 37.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03115/0.8, allocations: 14.3 MB / 0.7824 GB, free: 23.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/0.8037, allocations: 0.5173 MB / 0.7829 GB, free: 22.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/0.8041, allocations: 83.98 kB / 0.783 GB, free: 22.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-06/0.8041, allocations: 4 kB / 0.783 GB, free: 22.49 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03102/0.8352, allocations: 11.75 MB / 0.7944 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.8352, allocations: 8 kB / 0.7944 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/0.8487, allocations: 4.827 MB / 0.7992 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.8522, allocations: 0.7062 MB / 0.7998 GB, free: 5.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03343/0.8857, allocations: 14.3 MB / 0.8138 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/0.8896, allocations: 498 kB / 0.8143 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005008/0.8901, allocations: 79.98 kB / 0.8144 GB, free: 6.184 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis 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 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 (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007886/0.8909, allocations: 209.2 kB / 0.8146 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008166/0.8917, allocations: 296.3 kB / 0.8148 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03724/0.929, allocations: 13.15 MB / 0.8277 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.929, allocations: 24 kB / 0.8277 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/0.9291, allocations: 20 kB / 0.8277 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/0.9291, allocations: 11.95 kB / 0.8277 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04362/0.9727, allocations: 16.68 MB / 0.844 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.9728, allocations: 0 / 0.844 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.9746, allocations: 291.6 kB / 0.8443 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/0.9895, allocations: 5.007 MB / 0.8492 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004373/0.9899, allocations: 19.98 kB / 0.8492 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03284/1.023, allocations: 13.68 MB / 0.8626 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.023, allocations: 0 / 0.8626 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04032/1.063, allocations: 15.16 MB / 0.8774 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009238/1.064, allocations: 408.8 kB / 0.8778 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007516/1.065, allocations: 7.906 kB / 0.8778 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003296/1.068, allocations: 395.7 kB / 0.8782 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008582/1.069, allocations: 313.4 kB / 0.8785 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.069, allocations: 67.92 kB / 0.8785 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001834/1.071, allocations: 1.288 MB / 0.8798 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004049/1.075, allocations: 1.579 MB / 0.8813 GB, free: 1.387 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (164): * Single equations (assignments): 161 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003878/1.076, allocations: 158.6 kB / 0.8815 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1534/1.229, allocations: 9.584 MB / 0.8908 GB, free: 199.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.229, allocations: 0 / 0.8908 GB, free: 199.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/1.239, allocations: 3.967 MB / 0.8947 GB, free: 199.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.241, allocations: 198.9 kB / 0.8949 GB, free: 199.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009023/1.25, allocations: 4.341 MB / 0.8991 GB, free: 198.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.251, allocations: 1.953 MB / 0.901 GB, free: 197.4 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/1.251, allocations: 0 / 0.901 GB, free: 197.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.08262/1.334, allocations: 75.18 MB / 0.9745 GB, free: 166.5 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)