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.001242/0.001242, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.2 MB, free: 4.617 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.001415/0.001415, allocations: 196.5 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4864/0.4864, allocations: 78.52 MB / 418.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 79.88 kB / 497.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 68.18 MB / 0.5524 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2595/0.4131, allocations: 6.7 MB / 0.5589 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.4167, allocations: 2.012 MB / 0.5609 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.4173, allocations: 12.84 kB / 0.5609 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.4181, allocations: 243.8 kB / 0.5611 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.4198, allocations: 0.8126 MB / 0.5619 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.421, allocations: 0.642 MB / 0.5625 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.4223, allocations: 1.665 MB / 0.5642 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.4228, allocations: 322.5 kB / 0.5645 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007175/0.4235, allocations: 0.6866 MB / 0.5651 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.4242, allocations: 0.8796 MB / 0.566 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.4244, allocations: 133.2 kB / 0.5661 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.4249, allocations: 275.7 kB / 0.5664 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.4251, allocations: 346.5 kB / 0.5667 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004934/0.4256, allocations: 0.6985 MB / 0.5674 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.4271, allocations: 1.712 MB / 0.5691 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4271, allocations: 0 / 0.5691 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4271, allocations: 2.031 kB / 0.5691 GB, free: 33.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.4271, allocations: 3.844 kB / 0.5691 GB, free: 33.72 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.00909/0.4362, allocations: 2.781 MB / 0.5718 GB, free: 32.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4363, allocations: 9.688 kB / 0.5718 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.4411, allocations: 0.7762 MB / 0.5726 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.4426, allocations: 0.928 MB / 0.5735 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.4428, allocations: 257.5 kB / 0.5737 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.443, allocations: 91.41 kB / 0.5738 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4449, allocations: 1.108 MB / 0.5749 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4449, allocations: 4.594 kB / 0.5749 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.445, allocations: 30.62 kB / 0.5749 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.445, allocations: 22.38 kB / 0.5749 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.4468, allocations: 1.004 MB / 0.5759 GB, free: 31.93 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.005816/0.4526, allocations: 3.918 MB / 0.5797 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006889/0.4595, allocations: 2.403 MB / 0.5821 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.4611, allocations: 0.6933 MB / 0.5828 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.841e-05/0.4612, allocations: 18.92 kB / 0.5828 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.4628, allocations: 0.8358 MB / 0.5836 GB, free: 28.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 4.088e-06/0.4628, allocations: 0.7031 kB / 0.5836 GB, free: 28.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02822/0.491, allocations: 7.078 MB / 0.5905 GB, free: 27.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.4911, allocations: 114.8 kB / 0.5906 GB, free: 27.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.493, allocations: 1.145 MB / 0.5917 GB, free: 26.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.4933, allocations: 49.16 kB / 0.5918 GB, free: 26.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.4936, allocations: 0.5004 MB / 0.5923 GB, free: 26.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.494, allocations: 362.7 kB / 0.5926 GB, free: 25.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.4945, allocations: 301 kB / 0.5929 GB, free: 25.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.4946, allocations: 306 kB / 0.5932 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.4962, allocations: 0.7972 MB / 0.594 GB, free: 25.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.498, allocations: 0.9692 MB / 0.5949 GB, free: 24.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02545/0.5234, allocations: 5.939 MB / 0.6007 GB, free: 22.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.5235, allocations: 1.938 kB / 0.6007 GB, free: 22.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01455/0.538, allocations: 4.515 MB / 0.6051 GB, free: 21.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.5382, allocations: 62.86 kB / 0.6052 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.5382, allocations: 2.938 kB / 0.6052 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006229/0.5444, allocations: 1.663 MB / 0.6068 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.5461, allocations: 300 kB / 0.6071 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.5656, allocations: 8.62 MB / 0.6155 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.5679, allocations: 214.5 kB / 0.6157 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.5683, allocations: 63.97 kB / 0.6158 GB, free: 13.78 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.0009155/0.5692, allocations: 300 kB / 0.6161 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.5697, allocations: 126.4 kB / 0.6162 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.5814, allocations: 3.92 MB / 0.62 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.5815, allocations: 8 kB / 0.62 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/0.5815, allocations: 13 kB / 0.62 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.5816, allocations: 7.969 kB / 0.62 GB, free: 9.371 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.01456/0.5961, allocations: 5.552 MB / 0.6255 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.5962, allocations: 5.781 kB / 0.6255 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.597, allocations: 103.8 kB / 0.6256 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005241/0.6022, allocations: 1.604 MB / 0.6271 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.6025, allocations: 16 kB / 0.6272 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.6229, allocations: 9.635 MB / 0.6366 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6229, allocations: 4 kB / 0.6366 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.638, allocations: 4.803 MB / 0.6413 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/0.6387, allocations: 231.2 kB / 0.6415 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/0.6392, allocations: 19.94 kB / 0.6415 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.6408, allocations: 115.9 kB / 0.6416 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006985/0.6415, allocations: 194.2 kB / 0.6418 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.6417, allocations: 28 kB / 0.6418 GB, free: 2.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.6432, allocations: 0.769 MB / 0.6426 GB, free: 1.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6432, allocations: 4 kB / 0.6426 GB, free: 1.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001929/0.6451, allocations: 491.6 kB / 0.643 GB, free: 1.355 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.0003394/0.6455, allocations: 132.1 kB / 0.6432 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.6531, allocations: 2.668 MB / 0.6458 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6531, allocations: 0 / 0.6458 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004476/0.6576, allocations: 1.618 MB / 0.6474 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.659, allocations: 123.5 kB / 0.6475 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.664, allocations: 2.445 MB / 0.6499 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008241/0.6649, allocations: 1.136 MB / 0.651 GB, free: 9.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.6655, allocations: 120.2 kB / 0.6511 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.6658, allocations: 88.53 kB / 0.6512 GB, free: 8.957 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6658, allocations: 0 / 0.6512 GB, free: 8.957 MB / 462.1 MB Notification: Performance of Templates: time 0.04317/0.709, allocations: 24.46 MB / 0.6751 GB, free: 0.7109 MB / 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)