Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007248/0.007248, allocations: 105.2 kB / 15.74 MB, free: 6.02 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.304/1.304, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001234/0.001234, allocations: 192.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4406/0.4406, allocations: 78.52 MB / 418.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 79.81 kB / 0.5536 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3358, allocations: 68.17 MB / 0.6202 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005518/0.3413, allocations: 6.51 MB / 0.6266 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3444, allocations: 1.955 MB / 0.6285 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.3448, allocations: 12 kB / 0.6285 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.3454, allocations: 234 kB / 0.6287 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.3469, allocations: 0.8031 MB / 0.6295 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.3478, allocations: 0.6243 MB / 0.6301 GB, free: 56 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.3492, allocations: 1.585 MB / 0.6316 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.3496, allocations: 322.4 kB / 0.6319 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.3503, allocations: 0.6535 MB / 0.6326 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008548/0.3512, allocations: 0.8206 MB / 0.6334 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.3514, allocations: 124 kB / 0.6335 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.3518, allocations: 255.9 kB / 0.6337 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.3521, allocations: 334.6 kB / 0.6341 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.3526, allocations: 0.6641 MB / 0.6347 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.3542, allocations: 1.678 MB / 0.6364 GB, free: 9.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3542, allocations: 0 / 0.6364 GB, free: 9.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3542, allocations: 0 / 0.6364 GB, free: 9.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.3543, allocations: 0 / 0.6364 GB, free: 9.609 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008198/0.3625, allocations: 2.73 MB / 0.639 GB, free: 6.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3625, allocations: 12.03 kB / 0.639 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.3675, allocations: 0.7757 MB / 0.6398 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.3689, allocations: 0.899 MB / 0.6407 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.3691, allocations: 256.2 kB / 0.6409 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.3693, allocations: 84 kB / 0.641 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.3715, allocations: 1.086 MB / 0.6421 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3715, allocations: 8 kB / 0.6421 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/0.3716, allocations: 31.94 kB / 0.6421 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3716, allocations: 20 kB / 0.6421 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.3736, allocations: 0.9877 MB / 0.6431 GB, free: 2.551 MB / 446.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.006078/0.3797, allocations: 3.801 MB / 0.6468 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007221/0.3869, allocations: 2.371 MB / 0.6491 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3882, allocations: 0.6684 MB / 0.6498 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.3883, allocations: 20.98 kB / 0.6498 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.3899, allocations: 0.8192 MB / 0.6506 GB, free: 10.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=95): time 2.365e-06/0.3899, allocations: 4 kB / 0.6506 GB, free: 10.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=95): time 0.02818/0.4181, allocations: 7.199 MB / 0.6576 GB, free: 3.316 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.4182, allocations: 119.7 kB / 0.6577 GB, free: 3.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.4199, allocations: 1.091 MB / 0.6588 GB, free: 2.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.42, allocations: 41.7 kB / 0.6588 GB, free: 2.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.4204, allocations: 0.4974 MB / 0.6593 GB, free: 1.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.4207, allocations: 364.9 kB / 0.6597 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004699/0.4212, allocations: 287.5 kB / 0.6599 GB, free: 0.875 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.4213, allocations: 301.1 kB / 0.6602 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4228, allocations: 0.7574 MB / 0.661 GB, free: 15.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.4245, allocations: 0.9225 MB / 0.6619 GB, free: 14.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02237/0.4469, allocations: 5.552 MB / 0.6673 GB, free: 9.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4469, allocations: 4 kB / 0.6673 GB, free: 9.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01319/0.4601, allocations: 4.368 MB / 0.6716 GB, free: 4.816 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.4602, allocations: 59.34 kB / 0.6716 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4602, allocations: 4 kB / 0.6716 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005669/0.4659, allocations: 1.596 MB / 0.6732 GB, free: 3.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.4671, allocations: 275.6 kB / 0.6734 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.4865, allocations: 8.519 MB / 0.6818 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4881, allocations: 195.2 kB / 0.6819 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.4883, allocations: 59.91 kB / 0.682 GB, free: 9.953 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006116/0.4889, allocations: 296.2 kB / 0.6823 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.4892, allocations: 135.2 kB / 0.6824 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.5019, allocations: 3.865 MB / 0.6862 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.502, allocations: 8 kB / 0.6862 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.502, allocations: 8 kB / 0.6862 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.502, allocations: 11.97 kB / 0.6862 GB, free: 5.582 MB / 494.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.01434/0.5164, allocations: 5.463 MB / 0.6915 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5164, allocations: 0 / 0.6915 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.5169, allocations: 95.89 kB / 0.6916 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/0.5223, allocations: 1.603 MB / 0.6932 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.5224, allocations: 27.98 kB / 0.6932 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.5422, allocations: 9.639 MB / 0.7026 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5422, allocations: 0 / 0.7026 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.5561, allocations: 4.736 MB / 0.7073 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5564, allocations: 228 kB / 0.7075 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.5566, allocations: 23.94 kB / 0.7075 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5577, allocations: 107.9 kB / 0.7076 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/0.5582, allocations: 196.8 kB / 0.7078 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.5583, allocations: 28.23 kB / 0.7078 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001018/0.5594, allocations: 0.7354 MB / 0.7085 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5594, allocations: 3.938 kB / 0.7085 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001239/0.5606, allocations: 467.7 kB / 0.709 GB, free: 13.79 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002587/0.5609, allocations: 145.5 kB / 0.7091 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006243/0.5671, allocations: 2.521 MB / 0.7116 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5672, allocations: 4 kB / 0.7116 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.5712, allocations: 1.611 MB / 0.7132 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.5721, allocations: 116.7 kB / 0.7133 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.5765, allocations: 2.229 MB / 0.7155 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.5773, allocations: 1.124 MB / 0.7166 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004357/0.5778, allocations: 116.1 kB / 0.7167 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.578, allocations: 83.34 kB / 0.7167 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.5781, allocations: 4 kB / 0.7168 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.03287/0.6109, allocations: 23.83 MB / 0.74 GB, free: 13.87 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)