Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 174.4 kB / 7.647 MB, free: 1.422 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.318/1.318, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.001018/0.001018, allocations: 96.25 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4415/0.4415, allocations: 78.13 MB / 409.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.75e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 69.37 MB / 0.5413 GB, free: 6.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3522/0.4723, allocations: 98.11 MB / 0.6371 GB, free: 1.645 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4725, allocations: 80.66 kB / 0.6372 GB, free: 1.566 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08279/0.5553, allocations: 30.48 MB / 0.667 GB, free: 3.125 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5553, allocations: 0 / 0.667 GB, free: 3.125 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.911e-05/0.5554, allocations: 24 kB / 0.667 GB, free: 3.102 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004064/0.5595, allocations: 1.722 MB / 0.6687 GB, free: 1.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5595, allocations: 8.031 kB / 0.6687 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.5628, allocations: 0.5641 MB / 0.6692 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.5641, allocations: 0.7921 MB / 0.67 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.5643, allocations: 206.4 kB / 0.6702 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.5645, allocations: 44 kB / 0.6702 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/0.5659, allocations: 0.8084 MB / 0.671 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5673, allocations: 0.8455 MB / 0.6719 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5673, allocations: 4 kB / 0.6719 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.5674, allocations: 0 / 0.6719 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.5675, allocations: 19.98 kB / 0.6719 GB, free: 13.93 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00653/0.574, allocations: 3.798 MB / 0.6756 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007162/0.5812, allocations: 2.576 MB / 0.6781 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009481/0.5822, allocations: 0.5234 MB / 0.6786 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.5823, allocations: 16.75 kB / 0.6786 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.5823, allocations: 43.34 kB / 0.6787 GB, free: 6.691 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.795e-06/0.5823, allocations: 4.938 kB / 0.6787 GB, free: 6.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01175/0.5941, allocations: 3.828 MB / 0.6824 GB, free: 2.844 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.5942, allocations: 145.2 kB / 0.6826 GB, free: 2.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.5955, allocations: 0.8389 MB / 0.6834 GB, free: 1.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.5957, allocations: 25.7 kB / 0.6834 GB, free: 1.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.5961, allocations: 0.509 MB / 0.6839 GB, free: 1.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.5964, allocations: 327 kB / 0.6842 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.5965, allocations: 0 / 0.6842 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5966, allocations: 345.9 kB / 0.6845 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.5973, allocations: 430.6 kB / 0.685 GB, free: 188 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.5981, allocations: 0.5512 MB / 0.6855 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.5988, allocations: 498.2 kB / 0.686 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5988, allocations: 0 / 0.686 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01167/0.6105, allocations: 3.891 MB / 0.6898 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003818/0.6109, allocations: 1.207 MB / 0.6909 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.611, allocations: 4 kB / 0.691 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/0.6158, allocations: 1.428 MB / 0.6923 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.617, allocations: 184.9 kB / 0.6925 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.63, allocations: 6.267 MB / 0.6986 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.6318, allocations: 175.2 kB / 0.6988 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.632, allocations: 32 kB / 0.6988 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.632, allocations: 5.406 kB / 0.6988 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0116/0.6436, allocations: 3.743 MB / 0.7025 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.6437, allocations: 7.984 kB / 0.7025 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00511/0.6488, allocations: 1.421 MB / 0.7039 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.65, allocations: 179.8 kB / 0.7041 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.6628, allocations: 6.267 MB / 0.7102 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.6645, allocations: 159.3 kB / 0.7103 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6646, allocations: 35.98 kB / 0.7104 GB, free: 5.75 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 (91): * Single equations (assignments): 88 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003738/0.665, allocations: 168.4 kB / 0.7105 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.6653, allocations: 122.5 kB / 0.7107 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.6772, allocations: 3.909 MB / 0.7145 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.6773, allocations: 15.95 kB / 0.7145 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.6773, allocations: 4 kB / 0.7145 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.6773, allocations: 7.984 kB / 0.7145 GB, free: 1.504 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.6915, allocations: 5.468 MB / 0.7198 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.6915, allocations: 4.031 kB / 0.7198 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.6923, allocations: 119.8 kB / 0.72 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00463/0.697, allocations: 1.398 MB / 0.7213 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.6971, allocations: 8 kB / 0.7213 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.7085, allocations: 5.628 MB / 0.7268 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7085, allocations: 0 / 0.7268 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/0.7217, allocations: 4.663 MB / 0.7314 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.7222, allocations: 227.2 kB / 0.7316 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.7226, allocations: 8 kB / 0.7316 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.724, allocations: 123.9 kB / 0.7317 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/0.7246, allocations: 176.5 kB / 0.7319 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/0.7247, allocations: 27.95 kB / 0.7319 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000985/0.7257, allocations: 0.6454 MB / 0.7325 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7257, allocations: 0 / 0.7325 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002049/0.7277, allocations: 0.62 MB / 0.7331 GB, free: 14.14 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002947/0.728, allocations: 138.8 kB / 0.7333 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008501/0.7365, allocations: 3.477 MB / 0.7367 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7366, allocations: 0 / 0.7367 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003797/0.7404, allocations: 1.415 MB / 0.7381 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.7413, allocations: 89.03 kB / 0.7381 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.745, allocations: 1.824 MB / 0.7399 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.7457, allocations: 1.162 MB / 0.7411 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000969/0.7467, allocations: 201.7 kB / 0.7413 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.7469, allocations: 55.42 kB / 0.7413 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.7469, allocations: 0 / 0.7413 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of Templates: time 0.2845/1.031, allocations: 25.85 MB / 0.7665 GB, free: 147.4 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)