Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07766/0.07766, allocations: 12.2 MB / 27.47 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007383/0.0007387, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 239.8 MB, free: 13.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 176.5 kB / 291 MB, free: 11.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4513/0.4513, allocations: 78.53 MB / 420.5 MB, free: 11.5 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008868/0.0008868, allocations: 31.98 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3307, allocations: 69.22 MB / 0.5577 GB, free: 20.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004793/0.3355, allocations: 6.394 MB / 0.564 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.3394, allocations: 1.955 MB / 0.5659 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.3401, allocations: 12 kB / 0.5659 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.3407, allocations: 190.8 kB / 0.5661 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.3424, allocations: 0.6994 MB / 0.5667 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3434, allocations: 0.5909 MB / 0.5673 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.3445, allocations: 1.487 MB / 0.5688 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.3449, allocations: 281.3 kB / 0.569 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.3454, allocations: 0.5674 MB / 0.5696 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.346, allocations: 0.7503 MB / 0.5703 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3461, allocations: 60 kB / 0.5704 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.3465, allocations: 187.9 kB / 0.5706 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3467, allocations: 254.7 kB / 0.5708 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.3471, allocations: 0.6266 MB / 0.5714 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.348, allocations: 1.556 MB / 0.5729 GB, free: 5.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3481, allocations: 3.938 kB / 0.5729 GB, free: 5.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3481, allocations: 0 / 0.5729 GB, free: 5.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3481, allocations: 4 kB / 0.5729 GB, free: 5.227 MB / 382.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.007598/0.3557, allocations: 2.49 MB / 0.5754 GB, free: 2.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3557, allocations: 11.98 kB / 0.5754 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/0.3607, allocations: 0.7904 MB / 0.5762 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.3625, allocations: 0.8825 MB / 0.577 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.3628, allocations: 268.2 kB / 0.5773 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.363, allocations: 83.91 kB / 0.5774 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.3652, allocations: 1.145 MB / 0.5785 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3653, allocations: 3.938 kB / 0.5785 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3654, allocations: 35.98 kB / 0.5785 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3654, allocations: 20 kB / 0.5785 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.3676, allocations: 1.039 MB / 0.5795 GB, free: 14.29 MB / 398.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.007541/0.3751, allocations: 3.906 MB / 0.5834 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008046/0.3832, allocations: 2.907 MB / 0.5862 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.3848, allocations: 0.7357 MB / 0.5869 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.3849, allocations: 20.98 kB / 0.5869 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001654/0.3866, allocations: 0.8724 MB / 0.5878 GB, free: 5.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 4.689e-06/0.3866, allocations: 3.984 kB / 0.5878 GB, free: 5.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=95): time 0.03158/0.4182, allocations: 8.796 MB / 0.5964 GB, free: 12.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.4183, allocations: 119.7 kB / 0.5965 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.42, allocations: 1.095 MB / 0.5976 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.4202, allocations: 41.7 kB / 0.5976 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.4206, allocations: 496.8 kB / 0.5981 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.4209, allocations: 351.1 kB / 0.5984 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.4211, allocations: 149.6 kB / 0.5986 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.4212, allocations: 301.1 kB / 0.5988 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.4229, allocations: 0.8199 MB / 0.5996 GB, free: 9.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.4246, allocations: 0.989 MB / 0.6006 GB, free: 8.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02445/0.4491, allocations: 5.987 MB / 0.6065 GB, free: 2.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.4491, allocations: 0 / 0.6065 GB, free: 2.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01492/0.4641, allocations: 5.2 MB / 0.6115 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.86e-05/0.4642, allocations: 63.34 kB / 0.6116 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4642, allocations: 0 / 0.6116 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006269/0.4705, allocations: 1.876 MB / 0.6134 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.472, allocations: 275.6 kB / 0.6137 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.4923, allocations: 8.842 MB / 0.6223 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.4944, allocations: 230.7 kB / 0.6225 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.4945, allocations: 63.97 kB / 0.6226 GB, free: 1.461 MB / 430.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.000607/0.4952, allocations: 292.2 kB / 0.6229 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.4954, allocations: 126.5 kB / 0.623 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.5097, allocations: 4.728 MB / 0.6276 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.5097, allocations: 8 kB / 0.6276 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5097, allocations: 8 kB / 0.6276 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.5098, allocations: 7.969 kB / 0.6276 GB, free: 12.26 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 postOpt removeSimpleEquations (simulation): time 0.01623/0.526, allocations: 6.301 MB / 0.6338 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.5261, allocations: 4 kB / 0.6338 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.5267, allocations: 91.91 kB / 0.6339 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006175/0.5329, allocations: 1.884 MB / 0.6357 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.5332, allocations: 23.98 kB / 0.6357 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/0.5538, allocations: 9.703 MB / 0.6452 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5539, allocations: 0 / 0.6452 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/0.57, allocations: 5.635 MB / 0.6507 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.5705, allocations: 231.3 kB / 0.6509 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.5707, allocations: 20 kB / 0.651 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5719, allocations: 139.9 kB / 0.6511 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000599/0.5725, allocations: 188.7 kB / 0.6513 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.5726, allocations: 31.98 kB / 0.6513 GB, free: 3.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.5737, allocations: 0.7316 MB / 0.652 GB, free: 2.824 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5737, allocations: 3.938 kB / 0.652 GB, free: 2.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001439/0.5751, allocations: 475.5 kB / 0.6525 GB, free: 2.355 MB / 462.1 MB 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.000299/0.5754, allocations: 137.5 kB / 0.6526 GB, free: 2.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006714/0.5822, allocations: 2.794 MB / 0.6553 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5822, allocations: 0.75 kB / 0.6553 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004723/0.5869, allocations: 1.81 MB / 0.6571 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5884, allocations: 120.5 kB / 0.6572 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.5927, allocations: 2.704 MB / 0.6599 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.5935, allocations: 1.116 MB / 0.661 GB, free: 9.539 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004983/0.594, allocations: 116 kB / 0.6611 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.5943, allocations: 79.41 kB / 0.6611 GB, free: 9.344 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5943, allocations: 4 kB / 0.6611 GB, free: 9.34 MB / 478.1 MB Notification: Performance of Templates: time 0.03617/0.6305, allocations: 21.09 MB / 0.6817 GB, free: 4.266 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: