Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08163/0.08163, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.001146/0.001146, allocations: 107.5 kB / 32.5 MB, free: 3.551 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.429/1.429, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001817/0.001817, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4496/0.4496, allocations: 78.51 MB / 420 MB, free: 11.27 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.002689/0.002689, allocations: 134 kB / 0.5565 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.144, allocations: 68.12 MB / 0.6231 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007103/0.1512, allocations: 6.765 MB / 0.6297 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1555, allocations: 1.979 MB / 0.6316 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1566, allocations: 12 kB / 0.6316 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.1575, allocations: 237.9 kB / 0.6318 GB, free: 6.406 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.1599, allocations: 0.8298 MB / 0.6326 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1614, allocations: 0.6425 MB / 0.6333 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.1636, allocations: 1.679 MB / 0.6349 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.1641, allocations: 322.5 kB / 0.6352 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009543/0.165, allocations: 0.6847 MB / 0.6359 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.166, allocations: 0.879 MB / 0.6367 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.1662, allocations: 136 kB / 0.6369 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.1667, allocations: 271.8 kB / 0.6371 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.167, allocations: 346.6 kB / 0.6375 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.1677, allocations: 0.6915 MB / 0.6381 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.1695, allocations: 1.736 MB / 0.6398 GB, free: 14.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1695, allocations: 4 kB / 0.6398 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1695, allocations: 0 / 0.6398 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1696, allocations: 0 / 0.6398 GB, free: 14.18 MB / 462.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.009062/0.1786, allocations: 2.785 MB / 0.6426 GB, free: 11.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1787, allocations: 11.98 kB / 0.6426 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.1836, allocations: 0.7748 MB / 0.6433 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.1855, allocations: 0.9257 MB / 0.6442 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.1858, allocations: 256.2 kB / 0.6445 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.186, allocations: 87.91 kB / 0.6446 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.1881, allocations: 1.118 MB / 0.6456 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1881, allocations: 4 kB / 0.6457 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1882, allocations: 28 kB / 0.6457 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.1882, allocations: 27.92 kB / 0.6457 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.1902, allocations: 0.9995 MB / 0.6467 GB, free: 7 MB / 462.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.006567/0.1968, allocations: 3.891 MB / 0.6505 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/0.2039, allocations: 2.412 MB / 0.6528 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.2054, allocations: 0.6918 MB / 0.6535 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.2056, allocations: 17 kB / 0.6535 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.2071, allocations: 0.8372 MB / 0.6543 GB, free: 14.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.856e-06/0.2071, allocations: 0 / 0.6543 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02738/0.2345, allocations: 7.089 MB / 0.6613 GB, free: 7.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.2347, allocations: 119.8 kB / 0.6614 GB, free: 7.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.2364, allocations: 1.143 MB / 0.6625 GB, free: 6.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002798/0.2367, allocations: 45.7 kB / 0.6625 GB, free: 6.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.2371, allocations: 0.4969 MB / 0.663 GB, free: 5.855 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.2375, allocations: 366.9 kB / 0.6634 GB, free: 5.492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.238, allocations: 291.4 kB / 0.6637 GB, free: 5.203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.2381, allocations: 305.1 kB / 0.6639 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.2397, allocations: 0.7965 MB / 0.6647 GB, free: 4.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.2413, allocations: 0.9694 MB / 0.6657 GB, free: 3.094 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02467/0.266, allocations: 5.923 MB / 0.6715 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.2661, allocations: 4 kB / 0.6715 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01358/0.2797, allocations: 4.508 MB / 0.6759 GB, free: 8.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.2798, allocations: 63.34 kB / 0.6759 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2798, allocations: 0 / 0.6759 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006276/0.2861, allocations: 1.677 MB / 0.6776 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.2879, allocations: 299.5 kB / 0.6778 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/0.3077, allocations: 8.603 MB / 0.6862 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.3099, allocations: 210.6 kB / 0.6864 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.31, allocations: 59.97 kB / 0.6865 GB, free: 13.47 MB / 0.4981 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 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.0006925/0.3107, allocations: 304.2 kB / 0.6868 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.311, allocations: 126.4 kB / 0.6869 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.3233, allocations: 3.92 MB / 0.6907 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.3234, allocations: 12 kB / 0.6908 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.3234, allocations: 8 kB / 0.6908 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-05/0.3234, allocations: 3.984 kB / 0.6908 GB, free: 9.059 MB / 0.4981 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.01467/0.3381, allocations: 5.557 MB / 0.6962 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.3382, allocations: 0 / 0.6962 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/0.339, allocations: 107.8 kB / 0.6963 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005421/0.3444, allocations: 1.599 MB / 0.6979 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/0.3447, allocations: 20 kB / 0.6979 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/0.3643, allocations: 9.623 MB / 0.7073 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3644, allocations: 0 / 0.7073 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.3784, allocations: 4.809 MB / 0.712 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/0.379, allocations: 223.3 kB / 0.7122 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.3792, allocations: 23.92 kB / 0.7122 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.3805, allocations: 111.9 kB / 0.7123 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006123/0.3811, allocations: 196.7 kB / 0.7125 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.3812, allocations: 24.05 kB / 0.7125 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001123/0.3823, allocations: 0.7713 MB / 0.7133 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3823, allocations: 3.938 kB / 0.7133 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001588/0.3839, allocations: 491.5 kB / 0.7137 GB, free: 1.055 MB / 0.5137 GB 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.0003216/0.3842, allocations: 153.7 kB / 0.7139 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.3168/0.701, allocations: 2.621 MB / 0.7165 GB, free: 85.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.7011, allocations: 1.156 kB / 0.7165 GB, free: 85.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005269/0.7064, allocations: 1.608 MB / 0.718 GB, free: 85.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.7078, allocations: 111.3 kB / 0.7181 GB, free: 85.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.713, allocations: 2.453 MB / 0.7205 GB, free: 84.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009701/0.714, allocations: 1.135 MB / 0.7216 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/0.7146, allocations: 88.09 kB / 0.7217 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.7146, allocations: 0 / 0.7217 GB, free: 83.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.04591/0.7605, allocations: 24.33 MB / 0.7455 GB, free: 74.61 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)