Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.355/1.355, allocations: 222.9 MB / 240 MB, free: 4.496 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.00141/0.001409, allocations: 192.5 kB / 290.3 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5264/0.5264, allocations: 78.53 MB / 419 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001886, allocations: 75.88 kB / 498.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1618, allocations: 68.18 MB / 0.5538 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2814/0.4432, allocations: 6.702 MB / 0.5603 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.4486, allocations: 2.014 MB / 0.5623 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.4496, allocations: 9.875 kB / 0.5623 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000875/0.4505, allocations: 243.6 kB / 0.5625 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.4524, allocations: 0.8151 MB / 0.5633 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.4538, allocations: 0.645 MB / 0.564 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.4556, allocations: 1.672 MB / 0.5656 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005304/0.4562, allocations: 322.5 kB / 0.5659 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.4572, allocations: 0.6877 MB / 0.5666 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009316/0.4582, allocations: 0.8763 MB / 0.5674 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.4584, allocations: 132.9 kB / 0.5675 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.4589, allocations: 274.4 kB / 0.5678 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.4592, allocations: 343.2 kB / 0.5681 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.4597, allocations: 0.7045 MB / 0.5688 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.4613, allocations: 1.734 MB / 0.5705 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4613, allocations: 0 / 0.5705 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4613, allocations: 0 / 0.5705 GB, free: 33.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.4614, allocations: 1.219 kB / 0.5705 GB, free: 33.64 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008799/0.4702, allocations: 2.779 MB / 0.5732 GB, free: 32.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4702, allocations: 11.53 kB / 0.5732 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.4751, allocations: 0.7733 MB / 0.574 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4769, allocations: 0.9314 MB / 0.5749 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.4771, allocations: 258.7 kB / 0.5752 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.4773, allocations: 92.67 kB / 0.5752 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.4794, allocations: 1.111 MB / 0.5763 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.4794, allocations: 0 / 0.5763 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.4795, allocations: 31.7 kB / 0.5764 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.4795, allocations: 19.22 kB / 0.5764 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.4813, allocations: 1.002 MB / 0.5774 GB, free: 31.85 MB / 430.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.006388/0.4877, allocations: 3.898 MB / 0.5812 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006719/0.4944, allocations: 2.407 MB / 0.5835 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.4959, allocations: 0.6908 MB / 0.5842 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4961, allocations: 18.72 kB / 0.5842 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/0.4977, allocations: 0.8372 MB / 0.585 GB, free: 28.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.076e-06/0.4977, allocations: 0 / 0.585 GB, free: 28.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02837/0.5261, allocations: 7.079 MB / 0.5919 GB, free: 27.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.5262, allocations: 119.1 kB / 0.592 GB, free: 26.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.5283, allocations: 1.145 MB / 0.5932 GB, free: 26.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003215/0.5286, allocations: 46.2 kB / 0.5932 GB, free: 26.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.529, allocations: 0.4964 MB / 0.5937 GB, free: 26.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/0.5294, allocations: 364.1 kB / 0.594 GB, free: 25.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.53, allocations: 303.2 kB / 0.5943 GB, free: 25.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.5301, allocations: 301.8 kB / 0.5946 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5318, allocations: 0.7936 MB / 0.5954 GB, free: 25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.5337, allocations: 0.978 MB / 0.5963 GB, free: 24.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02716/0.5608, allocations: 5.926 MB / 0.6021 GB, free: 22.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.5609, allocations: 1.219 kB / 0.6021 GB, free: 22.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01401/0.5749, allocations: 4.511 MB / 0.6065 GB, free: 21.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.575, allocations: 59.31 kB / 0.6066 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.5751, allocations: 2.906 kB / 0.6066 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005934/0.581, allocations: 1.663 MB / 0.6082 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.5827, allocations: 302.4 kB / 0.6085 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/0.6011, allocations: 8.61 MB / 0.6169 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.6034, allocations: 210.6 kB / 0.6171 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.6035, allocations: 59.97 kB / 0.6172 GB, free: 13.15 MB / 430.1 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000624/0.6041, allocations: 302.7 kB / 0.6175 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.6043, allocations: 126.4 kB / 0.6176 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.6151, allocations: 3.924 MB / 0.6214 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.6151, allocations: 12.56 kB / 0.6214 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.6151, allocations: 4 kB / 0.6214 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.6152, allocations: 3.984 kB / 0.6214 GB, free: 8.746 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01269/0.6279, allocations: 5.554 MB / 0.6269 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.6279, allocations: 0 / 0.6269 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.6287, allocations: 103.8 kB / 0.627 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004668/0.6333, allocations: 1.593 MB / 0.6285 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.6335, allocations: 23.98 kB / 0.6285 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.6524, allocations: 9.629 MB / 0.6379 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6525, allocations: 0 / 0.6379 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.6665, allocations: 4.81 MB / 0.6426 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/0.6672, allocations: 227.2 kB / 0.6429 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.6674, allocations: 23.94 kB / 0.6429 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.6686, allocations: 116 kB / 0.643 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/0.6693, allocations: 197.6 kB / 0.6432 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/0.6693, allocations: 24 kB / 0.6432 GB, free: 1.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.6706, allocations: 0.7713 MB / 0.644 GB, free: 1.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6706, allocations: 0 / 0.644 GB, free: 1.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001622/0.6722, allocations: 483.6 kB / 0.6444 GB, free: 0.7461 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003024/0.6726, allocations: 148.9 kB / 0.6446 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006705/0.6793, allocations: 2.631 MB / 0.6471 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6793, allocations: 0 / 0.6471 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.6835, allocations: 1.615 MB / 0.6487 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6847, allocations: 120.8 kB / 0.6488 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.6892, allocations: 2.414 MB / 0.6512 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.69, allocations: 1.132 MB / 0.6523 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.6905, allocations: 121 kB / 0.6524 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.6908, allocations: 91.34 kB / 0.6525 GB, free: 8.402 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6908, allocations: 0 / 0.6525 GB, free: 8.402 MB / 462.1 MB Notification: Performance of Templates: time 0.0407/0.7315, allocations: 24.47 MB / 0.6764 GB, free: 140 kB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)