Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.0009902/0.0009902, allocations: 105.2 kB / 269.2 MB, free: 8.445 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.08269/0.08269, allocations: 12.59 MB / 329.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3049/0.3049, allocations: 78.51 MB / 457.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.00252, allocations: 110.7 kB / 0.5254 GB, free: 19.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1609, allocations: 68.13 MB / 0.592 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01451/0.1755, allocations: 14.61 MB / 0.6062 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009591/0.1851, allocations: 3.609 MB / 0.6098 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004102/0.1893, allocations: 32 kB / 0.6098 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.1919, allocations: 441.1 kB / 0.6102 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.1985, allocations: 1.234 MB / 0.6114 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.2028, allocations: 1.425 MB / 0.6128 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006174/0.209, allocations: 3.613 MB / 0.6163 GB, free: 6.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.211, allocations: 0.802 MB / 0.6171 GB, free: 5.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.2139, allocations: 1.423 MB / 0.6185 GB, free: 4.355 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.2172, allocations: 1.89 MB / 0.6204 GB, free: 2.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.2186, allocations: 176 kB / 0.6205 GB, free: 2.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.2205, allocations: 315.8 kB / 0.6208 GB, free: 1.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.2218, allocations: 0.6647 MB / 0.6215 GB, free: 1.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003223/0.2251, allocations: 1.537 MB / 0.623 GB, free: 15.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005422/0.2305, allocations: 3.853 MB / 0.6267 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2305, allocations: 0 / 0.6267 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2306, allocations: 4 kB / 0.6267 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001757/0.2307, allocations: 0 / 0.6267 GB, free: 11.89 MB / 426.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.02605/0.2568, allocations: 6.653 MB / 0.6332 GB, free: 5.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2569, allocations: 11.98 kB / 0.6333 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.2718, allocations: 2.282 MB / 0.6355 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/0.277, allocations: 1.89 MB / 0.6373 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008876/0.278, allocations: 0.7253 MB / 0.638 GB, free: 44 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2905/0.5685, allocations: 216.8 kB / 0.6382 GB, free: 47.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007929/0.5765, allocations: 3.046 MB / 0.6412 GB, free: 47.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.5766, allocations: 0 / 0.6412 GB, free: 47.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.5769, allocations: 86.62 kB / 0.6413 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.5769, allocations: 50.38 kB / 0.6413 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006952/0.5839, allocations: 2.798 MB / 0.6441 GB, free: 46.14 MB / 426.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.02439/0.6083, allocations: 9.929 MB / 0.6538 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.6216, allocations: 4.205 MB / 0.6579 GB, free: 39.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005496/0.6271, allocations: 1.969 MB / 0.6598 GB, free: 38.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.6278, allocations: 47.42 kB / 0.6599 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006055/0.6339, allocations: 2.243 MB / 0.662 GB, free: 37.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 1.319e-05/0.6339, allocations: 0 / 0.662 GB, free: 37.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1131/0.747, allocations: 27.42 MB / 0.6888 GB, free: 15.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.7471, allocations: 188.2 kB / 0.689 GB, free: 15.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.7515, allocations: 2.307 MB / 0.6913 GB, free: 12.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/0.7525, allocations: 77.69 kB / 0.6913 GB, free: 12.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.7536, allocations: 1.183 MB / 0.6925 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00164/0.7552, allocations: 0.8738 MB / 0.6933 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002825/0.7581, allocations: 0.5658 MB / 0.6939 GB, free: 10.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7582, allocations: 305.1 kB / 0.6942 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00439/0.7626, allocations: 1.975 MB / 0.6961 GB, free: 7.824 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.7668, allocations: 2.342 MB / 0.6984 GB, free: 5.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05549/0.8223, allocations: 14.25 MB / 0.7123 GB, free: 6.926 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.8224, allocations: 3.938 kB / 0.7123 GB, free: 6.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0462/0.8686, allocations: 12.55 MB / 0.7246 GB, free: 10.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.8688, allocations: 127.4 kB / 0.7247 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/0.8688, allocations: 4 kB / 0.7247 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0192/0.888, allocations: 5.252 MB / 0.7298 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/0.8916, allocations: 0.5851 MB / 0.7304 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06246/0.9541, allocations: 21.32 MB / 0.7512 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/0.9594, allocations: 489 kB / 0.7517 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.9605, allocations: 116 kB / 0.7518 GB, free: 14.25 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.9632, allocations: 0.5407 MB / 0.7523 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/0.9645, allocations: 304.3 kB / 0.7526 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0443/1.009, allocations: 11.93 MB / 0.7643 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/1.009, allocations: 24 kB / 0.7643 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-05/1.009, allocations: 24 kB / 0.7643 GB, free: 1.316 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.661e-05/1.009, allocations: 11.95 kB / 0.7643 GB, free: 1.305 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.05418/1.063, allocations: 15.56 MB / 0.7795 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/1.063, allocations: 0 / 0.7795 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.065, allocations: 251.6 kB / 0.7797 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01928/1.085, allocations: 5.304 MB / 0.7849 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000901/1.085, allocations: 55.92 kB / 0.785 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06287/1.148, allocations: 22.67 MB / 0.8071 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.148, allocations: 0 / 0.8071 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6079/1.756, allocations: 93.5 MB / 0.8984 GB, free: 163.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/1.757, allocations: 413.7 kB / 0.8988 GB, free: 162.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/1.758, allocations: 41.53 kB / 0.8989 GB, free: 162.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.761, allocations: 301.9 kB / 0.8991 GB, free: 162.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002059/1.763, allocations: 0.5651 MB / 0.8997 GB, free: 162.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/1.763, allocations: 65.94 kB / 0.8998 GB, free: 162.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002018/1.765, allocations: 1.536 MB / 0.9013 GB, free: 162.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.765, allocations: 0 / 0.9013 GB, free: 162.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005041/1.77, allocations: 1.651 MB / 0.9029 GB, free: 162 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004844/1.771, allocations: 172.7 kB / 0.903 GB, free: 161.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01733/1.788, allocations: 6.662 MB / 0.9095 GB, free: 159.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.788, allocations: 3.625 kB / 0.9095 GB, free: 159.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01342/1.801, allocations: 4.429 MB / 0.9139 GB, free: 157.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.804, allocations: 267.4 kB / 0.9141 GB, free: 157.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/1.826, allocations: 10.17 MB / 0.9241 GB, free: 150.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/1.828, allocations: 1.93 MB / 0.9259 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001522/1.829, allocations: 275.2 kB / 0.9262 GB, free: 148.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/1.83, allocations: 168.3 kB / 0.9264 GB, free: 148.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.051e-06/1.83, allocations: 0 / 0.9264 GB, free: 148.5 MB / 0.573 GB Notification: Performance of Templates: time 0.1174/1.948, allocations: 86.8 MB / 1.011 GB, free: 65.2 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)