Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005028/0.005028, allocations: 171.5 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239 MB, free: 44 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 96.3 kB / 290.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4602/0.4602, allocations: 78.58 MB / 419.9 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 16 kB / 499.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 69.36 MB / 0.5558 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01019/0.1266, allocations: 12.2 MB / 0.5677 GB, free: 5.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.1338, allocations: 3.599 MB / 0.5712 GB, free: 1.961 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.1354, allocations: 39.94 kB / 0.5712 GB, free: 1.922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.1364, allocations: 393 kB / 0.5716 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.1395, allocations: 1.349 MB / 0.5729 GB, free: 192 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2138/0.3532, allocations: 1.265 MB / 0.5742 GB, free: 31.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00485/0.3581, allocations: 2.399 MB / 0.5765 GB, free: 31.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3593, allocations: 0.6937 MB / 0.5772 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.3616, allocations: 1.334 MB / 0.5785 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.3646, allocations: 1.689 MB / 0.5801 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006753/0.3653, allocations: 147.8 kB / 0.5803 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3663, allocations: 261.8 kB / 0.5805 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.3668, allocations: 0.5927 MB / 0.5811 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.3676, allocations: 0.5215 MB / 0.5816 GB, free: 31.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003354/0.3709, allocations: 2.849 MB / 0.5844 GB, free: 31.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.371, allocations: 4.094 kB / 0.5844 GB, free: 31.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.371, allocations: 0 / 0.5844 GB, free: 31.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.3711, allocations: 0 / 0.5844 GB, free: 31.41 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02312/0.3942, allocations: 6.225 MB / 0.5905 GB, free: 29.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3943, allocations: 9.062 kB / 0.5905 GB, free: 29.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.4098, allocations: 2.3 MB / 0.5927 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/0.4146, allocations: 1.796 MB / 0.5945 GB, free: 28.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000723/0.4154, allocations: 0.7546 MB / 0.5952 GB, free: 28.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006569/0.416, allocations: 217.3 kB / 0.5954 GB, free: 28.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006384/0.4224, allocations: 3.216 MB / 0.5986 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.4225, allocations: 0 / 0.5986 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.4228, allocations: 86.06 kB / 0.5987 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.4228, allocations: 53.2 kB / 0.5987 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005623/0.4285, allocations: 2.979 MB / 0.6016 GB, free: 27.96 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01671/0.4452, allocations: 10.48 MB / 0.6119 GB, free: 24.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.4559, allocations: 4.866 MB / 0.6166 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.4562, allocations: 45.31 kB / 0.6167 GB, free: 24.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005053/0.4613, allocations: 2.435 MB / 0.619 GB, free: 23.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.07e-06/0.4613, allocations: 3.938 kB / 0.619 GB, free: 23.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1188/0.5802, allocations: 33.47 MB / 0.6517 GB, free: 1.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5803, allocations: 184.2 kB / 0.6519 GB, free: 1.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.5835, allocations: 2.294 MB / 0.6541 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007574/0.5843, allocations: 76.33 kB / 0.6542 GB, free: 15.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/0.5851, allocations: 1.176 MB / 0.6554 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.5862, allocations: 0.8747 MB / 0.6562 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.5865, allocations: 64 kB / 0.6563 GB, free: 13.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5867, allocations: 436.9 kB / 0.6567 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/0.5912, allocations: 2.158 MB / 0.6588 GB, free: 10.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/0.5961, allocations: 2.517 MB / 0.6613 GB, free: 7.914 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.6011, allocations: 2.431 MB / 0.6636 GB, free: 5.441 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.6011, allocations: 0 / 0.6636 GB, free: 5.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04605/0.6472, allocations: 15.21 MB / 0.6785 GB, free: 6.164 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/0.6473, allocations: 110.8 kB / 0.6786 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.6474, allocations: 8 kB / 0.6786 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/0.6677, allocations: 6.436 MB / 0.6849 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.671, allocations: 0.589 MB / 0.6855 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06342/0.7344, allocations: 26.48 MB / 0.7113 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/0.7392, allocations: 0.5922 MB / 0.7119 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/0.7395, allocations: 120 kB / 0.712 GB, free: 3.691 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 326 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001287/0.7408, allocations: 0.5312 MB / 0.7125 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00055/0.7414, allocations: 300.3 kB / 0.7128 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04318/0.7846, allocations: 14.75 MB / 0.7272 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.7846, allocations: 31.89 kB / 0.7273 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/0.7847, allocations: 20 kB / 0.7273 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.496e-05/0.7847, allocations: 11.95 kB / 0.7273 GB, free: 3.941 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04743/0.8322, allocations: 18.49 MB / 0.7453 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.8322, allocations: 0.5625 kB / 0.7453 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.8339, allocations: 251.6 kB / 0.7456 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01915/0.853, allocations: 6.279 MB / 0.7517 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006694/0.8537, allocations: 55.98 kB / 0.7518 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06151/0.9153, allocations: 26.86 MB / 0.778 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9153, allocations: 3.984 kB / 0.778 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2914/1.207, allocations: 17.36 MB / 0.795 GB, free: 168 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.208, allocations: 414.1 kB / 0.7954 GB, free: 167.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/1.21, allocations: 51 kB / 0.7954 GB, free: 167.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005627/1.216, allocations: 411.8 kB / 0.7958 GB, free: 167.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002164/1.218, allocations: 0.5799 MB / 0.7964 GB, free: 167.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/1.218, allocations: 63.97 kB / 0.7964 GB, free: 167.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002484/1.221, allocations: 1.507 MB / 0.7979 GB, free: 167.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.221, allocations: 1.625 kB / 0.7979 GB, free: 167.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003965/1.225, allocations: 1.193 MB / 0.7991 GB, free: 167.7 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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004557/1.225, allocations: 174.8 kB / 0.7992 GB, free: 167.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03004/1.255, allocations: 7.539 MB / 0.8066 GB, free: 167 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.255, allocations: 3.938 kB / 0.8066 GB, free: 167 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02544/1.281, allocations: 5.111 MB / 0.8116 GB, free: 166.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/1.284, allocations: 224.1 kB / 0.8118 GB, free: 166.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.299, allocations: 6.58 MB / 0.8182 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.301, allocations: 1.876 MB / 0.8201 GB, free: 162.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002149/1.303, allocations: 265.5 kB / 0.8203 GB, free: 162.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/1.304, allocations: 162.2 kB / 0.8205 GB, free: 162.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/1.304, allocations: 3.375 kB / 0.8205 GB, free: 162.4 MB / 0.573 GB Notification: Performance of Templates: time 0.1391/1.443, allocations: 56.92 MB / 0.8761 GB, free: 140.4 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)