Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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-master/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-master/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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002312/0.002312, allocations: 183.1 kB / 7.455 MB, free: 2.508 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.144/1.144, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0009439/0.0009439, allocations: 97.11 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-master/package.mo): time 0.06357/0.06357, allocations: 12.59 MB / 321.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.269/0.269, allocations: 78.05 MB / 450.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.28e-06, allocations: 0 / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 69.32 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3207/0.4347, allocations: 101.1 MB / 0.6806 GB, free: 7.332 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.4349, allocations: 75.95 kB / 0.6806 GB, free: 7.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1673/0.6022, allocations: 64.5 MB / 0.7436 GB, free: 1.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002201/0.6024, allocations: 63.94 kB / 0.7437 GB, free: 1.586 MB / 474.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.01321/0.6156, allocations: 4.174 MB / 0.7478 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6157, allocations: 15.97 kB / 0.7478 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.6267, allocations: 1.67 MB / 0.7494 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.6307, allocations: 1.678 MB / 0.751 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/0.6314, allocations: 0.6242 MB / 0.7517 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006496/0.6321, allocations: 123.9 kB / 0.7518 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004701/0.6368, allocations: 2.23 MB / 0.754 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/0.6416, allocations: 2.291 MB / 0.7562 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.6416, allocations: 0 / 0.7562 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.6419, allocations: 4 kB / 0.7562 GB, free: 4.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.6419, allocations: 55.98 kB / 0.7562 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.6617, allocations: 9.977 MB / 0.766 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.6647, allocations: 1.579 MB / 0.7675 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.6671, allocations: 1.458 MB / 0.769 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.6674, allocations: 57.95 kB / 0.769 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.6675, allocations: 60.5 kB / 0.7691 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 4.318e-06/0.6675, allocations: 0 / 0.7691 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.04061/0.7081, allocations: 12.89 MB / 0.7817 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.7082, allocations: 235.6 kB / 0.7819 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.7116, allocations: 1.725 MB / 0.7836 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003516/0.712, allocations: 25.7 kB / 0.7836 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.7126, allocations: 0.7036 MB / 0.7843 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/0.7141, allocations: 0.8043 MB / 0.7851 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.7144, allocations: 0 / 0.7851 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.7146, allocations: 402.6 kB / 0.7855 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/0.7169, allocations: 1.196 MB / 0.7866 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.7194, allocations: 1.5 MB / 0.7881 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.7219, allocations: 1.326 MB / 0.7894 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.722, allocations: 4 kB / 0.7894 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03739/0.7594, allocations: 12.09 MB / 0.8012 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009167/0.7603, allocations: 2.763 MB / 0.8039 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.7603, allocations: 4 kB / 0.8039 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/0.7765, allocations: 4.823 MB / 0.8086 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/0.7803, allocations: 0.7257 MB / 0.8093 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03668/0.817, allocations: 14.3 MB / 0.8233 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.8212, allocations: 0.5134 MB / 0.8238 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004356/0.8216, allocations: 91.91 kB / 0.8239 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.8216, allocations: 4 kB / 0.8239 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03716/0.8588, allocations: 11.75 MB / 0.8353 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/0.8589, allocations: 11.98 kB / 0.8354 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/0.8754, allocations: 4.807 MB / 0.8401 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/0.8795, allocations: 0.7179 MB / 0.8408 GB, free: 12.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1824/1.062, allocations: 14.29 MB / 0.8547 GB, free: 211.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.066, allocations: 492.9 kB / 0.8552 GB, free: 211.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/1.066, allocations: 89.19 kB / 0.8553 GB, free: 211.4 MB / 0.573 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.0006267/1.067, allocations: 208.7 kB / 0.8555 GB, free: 211.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/1.067, allocations: 294.5 kB / 0.8557 GB, free: 211.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03662/1.104, allocations: 13.15 MB / 0.8686 GB, free: 211.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.104, allocations: 26.25 kB / 0.8686 GB, free: 211.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/1.104, allocations: 20.09 kB / 0.8686 GB, free: 211.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/1.104, allocations: 11.62 kB / 0.8686 GB, free: 211.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/1.146, allocations: 16.68 MB / 0.8849 GB, free: 210.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.146, allocations: 0 / 0.8849 GB, free: 210.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.148, allocations: 283.7 kB / 0.8852 GB, free: 210.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0146/1.162, allocations: 5.005 MB / 0.8901 GB, free: 210 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004994/1.163, allocations: 19.75 kB / 0.8901 GB, free: 210 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0317/1.194, allocations: 13.68 MB / 0.9035 GB, free: 208.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.194, allocations: 0 / 0.9035 GB, free: 208.1 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04079/1.235, allocations: 15.17 MB / 0.9183 GB, free: 199.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/1.236, allocations: 412 kB / 0.9187 GB, free: 199.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/1.237, allocations: 11.47 kB / 0.9187 GB, free: 199.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.24, allocations: 392.8 kB / 0.9191 GB, free: 198.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008041/1.241, allocations: 324.6 kB / 0.9194 GB, free: 198.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.241, allocations: 60 kB / 0.9194 GB, free: 198.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001559/1.242, allocations: 1.293 MB / 0.9207 GB, free: 197.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004089/1.247, allocations: 1.578 MB / 0.9222 GB, free: 196 MB / 0.573 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.0003727/1.247, allocations: 145.9 kB / 0.9224 GB, free: 195.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02343/1.27, allocations: 9.584 MB / 0.9317 GB, free: 187.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.27, allocations: 0 / 0.9317 GB, free: 187.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01065/1.281, allocations: 3.968 MB / 0.9356 GB, free: 183.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.283, allocations: 193.1 kB / 0.9358 GB, free: 183.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.293, allocations: 4.345 MB / 0.94 GB, free: 179.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.294, allocations: 1.96 MB / 0.9419 GB, free: 178 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.294, allocations: 2.719 kB / 0.9419 GB, free: 178 MB / 0.573 GB Notification: Performance of Templates: time 0.08856/1.383, allocations: 75.21 MB / 1.015 GB, free: 112.7 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)