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.01059/0.01059, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.489/1.489, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.00132/0.00132, allocations: 180.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5494/0.5494, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 74.08 kB / 0.5728 GB, free: 33.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1659, allocations: 71.29 MB / 0.6425 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02029/0.1863, allocations: 21.98 MB / 0.6639 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.1992, allocations: 4.908 MB / 0.6687 GB, free: 8.457 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006429/0.2056, allocations: 47.94 kB / 0.6688 GB, free: 8.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.2099, allocations: 0.8789 MB / 0.6696 GB, free: 7.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009927/0.2199, allocations: 2.053 MB / 0.6716 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007032/0.2269, allocations: 2.075 MB / 0.6736 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009273/0.2362, allocations: 5.802 MB / 0.6793 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.2392, allocations: 1.318 MB / 0.6806 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.2438, allocations: 2.365 MB / 0.6829 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005204/0.249, allocations: 2.982 MB / 0.6858 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002026/0.251, allocations: 444 kB / 0.6862 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.254, allocations: 0.5858 MB / 0.6868 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.2569, allocations: 1.171 MB / 0.688 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005682/0.2626, allocations: 2.633 MB / 0.6905 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.2728, allocations: 6.32 MB / 0.6967 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2729, allocations: 0 / 0.6967 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2729, allocations: 0 / 0.6967 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002852/0.2732, allocations: 0 / 0.6967 GB, free: 11.66 MB / 0.4981 GB 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.0314/0.3046, allocations: 9.412 MB / 0.7059 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3047, allocations: 15.91 kB / 0.7059 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02665/0.3313, allocations: 4.043 MB / 0.7099 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006087/0.3375, allocations: 2.721 MB / 0.7125 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009886/0.3385, allocations: 0.9573 MB / 0.7135 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/0.3396, allocations: 352 kB / 0.7138 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.3499, allocations: 4.751 MB / 0.7184 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/0.35, allocations: 7.938 kB / 0.7184 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.3503, allocations: 140 kB / 0.7186 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.3504, allocations: 84 kB / 0.7186 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009201/0.3596, allocations: 4.259 MB / 0.7228 GB, free: 0.5742 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.03673/0.3964, allocations: 18.32 MB / 0.7407 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.4093, allocations: 5.029 MB / 0.7456 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/0.4158, allocations: 2.802 MB / 0.7483 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.4163, allocations: 74.91 kB / 0.7484 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006945/0.4233, allocations: 3.193 MB / 0.7515 GB, free: 1.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 5.48e-06/0.4233, allocations: 3.938 kB / 0.7515 GB, free: 1.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.7136/1.137, allocations: 66.83 MB / 0.8168 GB, free: 83.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.137, allocations: 145.8 kB / 0.8169 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/1.142, allocations: 3.28 MB / 0.8201 GB, free: 80.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.143, allocations: 87.52 kB / 0.8202 GB, free: 80.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/1.144, allocations: 2.012 MB / 0.8222 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.146, allocations: 1.385 MB / 0.8236 GB, free: 78.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/1.148, allocations: 0.6903 MB / 0.8242 GB, free: 77.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/1.148, allocations: 301.1 kB / 0.8245 GB, free: 77.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005186/1.153, allocations: 2.616 MB / 0.8271 GB, free: 74.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/1.159, allocations: 3.249 MB / 0.8302 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06912/1.228, allocations: 19.13 MB / 0.8489 GB, free: 51.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/1.228, allocations: 4 kB / 0.8489 GB, free: 51.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05353/1.282, allocations: 17.27 MB / 0.8658 GB, free: 34.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/1.282, allocations: 67.39 kB / 0.8659 GB, free: 34.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.282, allocations: 15.94 kB / 0.8659 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02482/1.306, allocations: 7.3 MB / 0.873 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.31, allocations: 0.6826 MB / 0.8737 GB, free: 26.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0801/1.39, allocations: 33.9 MB / 0.9068 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/1.397, allocations: 0.6342 MB / 0.9074 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007731/1.397, allocations: 152 kB / 0.9075 GB, free: 7.703 MB / 0.5762 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.002001/1.399, allocations: 0.6712 MB / 0.9082 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.401, allocations: 480.9 kB / 0.9086 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06926/1.47, allocations: 16.89 MB / 0.9251 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/1.47, allocations: 36 kB / 0.9252 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001556/1.47, allocations: 28 kB / 0.9252 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001436/1.47, allocations: 19.92 kB / 0.9252 GB, free: 5.508 MB / 0.5919 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.07496/1.545, allocations: 21.92 MB / 0.9466 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/1.545, allocations: 0 / 0.9466 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/1.548, allocations: 394.7 kB / 0.947 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02707/1.575, allocations: 7.341 MB / 0.9542 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/1.576, allocations: 71.98 kB / 0.9542 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08124/1.658, allocations: 31.88 MB / 0.9854 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.658, allocations: 3.938 kB / 0.9854 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0641/1.722, allocations: 20.31 MB / 1.005 GB, free: 3.211 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/1.724, allocations: 0.5861 MB / 1.006 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/1.725, allocations: 64.06 kB / 1.006 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004629/1.73, allocations: 379.5 kB / 1.006 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003378/1.733, allocations: 0.7844 MB / 1.007 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/1.734, allocations: 91.98 kB / 1.007 GB, free: 1.348 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003451/1.737, allocations: 2.15 MB / 1.009 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/1.737, allocations: 3.938 kB / 1.009 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006286/1.743, allocations: 1.823 MB / 1.011 GB, free: 13.43 MB / 0.6856 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.0006126/1.744, allocations: 204.5 kB / 1.011 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02628/1.77, allocations: 9.38 MB / 1.02 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.77, allocations: 1.938 kB / 1.02 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0211/1.791, allocations: 6.23 MB / 1.026 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/1.796, allocations: 394.7 kB / 1.027 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.814, allocations: 8.177 MB / 1.035 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/1.816, allocations: 2.451 MB / 1.037 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001893/1.818, allocations: 375.2 kB / 1.037 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000947/1.819, allocations: 251.4 kB / 1.038 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of SimCode: time 1.422e-06/1.819, allocations: 0 / 1.038 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of Templates: time 0.5594/2.378, allocations: 94.19 MB / 1.13 GB, free: 174.2 MB / 0.7012 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)