Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 99.36 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239 MB, free: 4.684 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 188.5 kB / 289.3 MB, free: 2.426 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5946/0.5946, allocations: 91.89 MB / 431.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 75.88 kB / 0.5014 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3863, allocations: 71.26 MB / 0.571 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01701/0.4033, allocations: 23.54 MB / 0.594 GB, free: 20.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.4177, allocations: 5.194 MB / 0.599 GB, free: 16.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007288/0.425, allocations: 51 kB / 0.5991 GB, free: 16.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004327/0.4294, allocations: 0.6686 MB / 0.5997 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009606/0.4391, allocations: 1.746 MB / 0.6014 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006544/0.4456, allocations: 1.918 MB / 0.6033 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01227/0.4579, allocations: 5.77 MB / 0.609 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.4611, allocations: 1.32 MB / 0.6102 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005624/0.4667, allocations: 2.363 MB / 0.6125 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007155/0.4739, allocations: 2.985 MB / 0.6155 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00344/0.4774, allocations: 446.3 kB / 0.6159 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.4825, allocations: 0.5899 MB / 0.6165 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.4854, allocations: 1.175 MB / 0.6176 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0083/0.4937, allocations: 2.646 MB / 0.6202 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.5073, allocations: 6.223 MB / 0.6263 GB, free: 2.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5073, allocations: 0 / 0.6263 GB, free: 2.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5073, allocations: 0 / 0.6263 GB, free: 2.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003632/0.5077, allocations: 0 / 0.6263 GB, free: 2.012 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0401/0.5478, allocations: 9.253 MB / 0.6353 GB, free: 12.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.5479, allocations: 12.03 kB / 0.6353 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/0.5762, allocations: 4.016 MB / 0.6392 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007879/0.5841, allocations: 2.686 MB / 0.6419 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/0.5854, allocations: 0.9612 MB / 0.6428 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.5874, allocations: 348 kB / 0.6431 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.6003, allocations: 4.751 MB / 0.6478 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.085e-05/0.6005, allocations: 11.94 kB / 0.6478 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/0.601, allocations: 140 kB / 0.6479 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/0.601, allocations: 84 kB / 0.648 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.612, allocations: 4.256 MB / 0.6522 GB, free: 11.26 MB / 462.1 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.04892/0.661, allocations: 18.43 MB / 0.6702 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.6756, allocations: 5.033 MB / 0.6751 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007494/0.6831, allocations: 2.798 MB / 0.6778 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.6842, allocations: 74.92 kB / 0.6779 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009932/0.6941, allocations: 3.197 MB / 0.681 GB, free: 12.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 1.382e-05/0.6942, allocations: 0 / 0.681 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3132/1.007, allocations: 66.82 MB / 0.7462 GB, free: 9.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.008, allocations: 141.8 kB / 0.7464 GB, free: 9.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/1.013, allocations: 3.267 MB / 0.7496 GB, free: 5.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001549/1.015, allocations: 93.7 kB / 0.7497 GB, free: 5.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00183/1.017, allocations: 1.971 MB / 0.7516 GB, free: 3.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003084/1.02, allocations: 1.324 MB / 0.7529 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/1.022, allocations: 0.6902 MB / 0.7535 GB, free: 1.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.022, allocations: 305.1 kB / 0.7538 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005898/1.028, allocations: 2.624 MB / 0.7564 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007153/1.035, allocations: 3.257 MB / 0.7596 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3875/1.423, allocations: 19.19 MB / 0.7783 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/1.423, allocations: 3 kB / 0.7783 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05812/1.481, allocations: 17.25 MB / 0.7952 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/1.481, allocations: 63.25 kB / 0.7952 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/1.481, allocations: 15 kB / 0.7952 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02719/1.508, allocations: 7.314 MB / 0.8024 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/1.512, allocations: 0.6832 MB / 0.803 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08124/1.593, allocations: 33.89 MB / 0.8361 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007191/1.601, allocations: 0.623 MB / 0.8368 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.602, allocations: 160 kB / 0.8369 GB, free: 131.3 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002721/1.605, allocations: 0.6698 MB / 0.8376 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/1.606, allocations: 458.3 kB / 0.838 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05172/1.658, allocations: 16.9 MB / 0.8545 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/1.658, allocations: 36 kB / 0.8545 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.81e-05/1.658, allocations: 28 kB / 0.8546 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/1.658, allocations: 19.92 kB / 0.8546 GB, free: 113.1 MB / 0.5606 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.05882/1.717, allocations: 21.91 MB / 0.876 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/1.717, allocations: 4.031 kB / 0.876 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.719, allocations: 399.5 kB / 0.8764 GB, free: 90.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02353/1.743, allocations: 7.36 MB / 0.8836 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/1.744, allocations: 71.98 kB / 0.8836 GB, free: 83.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06979/1.814, allocations: 31.87 MB / 0.9147 GB, free: 51.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.814, allocations: 4 kB / 0.9147 GB, free: 51.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05655/1.871, allocations: 20.28 MB / 0.9345 GB, free: 30.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.872, allocations: 0.5609 MB / 0.9351 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/1.874, allocations: 64 kB / 0.9352 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004992/1.879, allocations: 379.5 kB / 0.9355 GB, free: 29.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003659/1.883, allocations: 0.7883 MB / 0.9363 GB, free: 28.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007156/1.883, allocations: 91.98 kB / 0.9364 GB, free: 28.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00311/1.886, allocations: 2.149 MB / 0.9385 GB, free: 26.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/1.886, allocations: 3.938 kB / 0.9385 GB, free: 26.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006765/1.893, allocations: 1.818 MB / 0.9403 GB, free: 24.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000669/1.894, allocations: 198.4 kB / 0.9404 GB, free: 24.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02847/1.922, allocations: 9.5 MB / 0.9497 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.922, allocations: 0 / 0.9497 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01839/1.941, allocations: 6.201 MB / 0.9558 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.945, allocations: 390.9 kB / 0.9562 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.961, allocations: 9.91 MB / 0.9658 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/1.964, allocations: 2.459 MB / 0.9682 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002069/1.966, allocations: 383.2 kB / 0.9686 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/1.967, allocations: 251.4 kB / 0.9688 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/1.967, allocations: 0 / 0.9688 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.4807/2.448, allocations: 90.07 MB / 1.057 GB, free: 155.8 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)