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.08169/0.08169, allocations: 12.6 MB / 28.9 MB, free: 0.6328 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.001306/0.001306, allocations: 115.4 kB / 32.51 MB, free: 3.57 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.416/1.416, 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.00155/0.00155, allocations: 196.4 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.4464/0.4464, allocations: 78.51 MB / 420 MB, free: 11.26 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.004102/0.004102, allocations: 140.2 kB / 0.5566 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1115, allocations: 68.14 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008241/0.1197, allocations: 6.769 MB / 0.6297 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.1237, allocations: 1.987 MB / 0.6317 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.1242, allocations: 12 kB / 0.6317 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.1249, allocations: 249.9 kB / 0.6319 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.1268, allocations: 0.8585 MB / 0.6327 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.1282, allocations: 0.6464 MB / 0.6334 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.1302, allocations: 1.675 MB / 0.635 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.1306, allocations: 226.5 kB / 0.6352 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.1316, allocations: 0.6847 MB / 0.6359 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1326, allocations: 0.8751 MB / 0.6367 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.1328, allocations: 136 kB / 0.6369 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.1334, allocations: 275.8 kB / 0.6371 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.1337, allocations: 350.6 kB / 0.6375 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.1344, allocations: 0.6914 MB / 0.6381 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.1365, allocations: 1.746 MB / 0.6399 GB, free: 14.15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.1365, allocations: 4 kB / 0.6399 GB, free: 14.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1365, allocations: 0 / 0.6399 GB, free: 14.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.1365, allocations: 0 / 0.6399 GB, free: 14.15 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.01037/0.1469, allocations: 2.823 MB / 0.6426 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1469, allocations: 11.98 kB / 0.6426 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00553/0.1525, allocations: 0.7874 MB / 0.6434 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.1543, allocations: 0.9345 MB / 0.6443 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.1546, allocations: 260.2 kB / 0.6446 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.1548, allocations: 91.95 kB / 0.6446 GB, free: 9.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.1573, allocations: 1.106 MB / 0.6457 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1573, allocations: 0 / 0.6457 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.1574, allocations: 32 kB / 0.6458 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1574, allocations: 20 kB / 0.6458 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.1597, allocations: 0.9994 MB / 0.6467 GB, free: 6.918 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.007605/0.1673, allocations: 3.911 MB / 0.6506 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008258/0.1756, allocations: 2.33 MB / 0.6528 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.1772, allocations: 0.6294 MB / 0.6535 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.964e-05/0.1773, allocations: 24.89 kB / 0.6535 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/0.1791, allocations: 0.8333 MB / 0.6543 GB, free: 14.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.535e-06/0.1791, allocations: 0 / 0.6543 GB, free: 14.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.03094/0.2101, allocations: 7.062 MB / 0.6612 GB, free: 7.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2102, allocations: 119.8 kB / 0.6613 GB, free: 7.633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.212, allocations: 1.143 MB / 0.6624 GB, free: 6.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.2122, allocations: 45.7 kB / 0.6625 GB, free: 6.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.2127, allocations: 0.5015 MB / 0.663 GB, free: 5.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.2131, allocations: 388.7 kB / 0.6633 GB, free: 5.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.2137, allocations: 299.4 kB / 0.6636 GB, free: 5.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2138, allocations: 301.1 kB / 0.6639 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.2157, allocations: 0.7965 MB / 0.6647 GB, free: 4.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.2176, allocations: 0.9694 MB / 0.6656 GB, free: 3.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02745/0.2451, allocations: 5.923 MB / 0.6714 GB, free: 13.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.2451, allocations: 4 kB / 0.6714 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01559/0.2607, allocations: 4.493 MB / 0.6758 GB, free: 8.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.2608, allocations: 63.39 kB / 0.6759 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2608, allocations: 0 / 0.6759 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006887/0.2677, allocations: 1.665 MB / 0.6775 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.2692, allocations: 295.6 kB / 0.6778 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/0.2923, allocations: 8.628 MB / 0.6862 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.2944, allocations: 219 kB / 0.6864 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.2945, allocations: 59.97 kB / 0.6865 GB, free: 13.51 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.0006686/0.2952, allocations: 304.2 kB / 0.6867 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.2954, allocations: 143 kB / 0.6869 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.3097, allocations: 3.885 MB / 0.6907 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.3097, allocations: 15.98 kB / 0.6907 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.3097, allocations: 8 kB / 0.6907 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.3098, allocations: 3.984 kB / 0.6907 GB, free: 9.113 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.01636/0.3261, allocations: 5.522 MB / 0.6961 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3261, allocations: 0 / 0.6961 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.3269, allocations: 107.8 kB / 0.6962 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006073/0.3329, allocations: 1.599 MB / 0.6978 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.3331, allocations: 23.98 kB / 0.6978 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/0.3558, allocations: 9.636 MB / 0.7072 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3558, allocations: 0 / 0.7072 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.3718, allocations: 4.786 MB / 0.7119 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.3722, allocations: 239.9 kB / 0.7121 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3724, allocations: 19.94 kB / 0.7121 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.3738, allocations: 112 kB / 0.7122 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006381/0.3744, allocations: 200.7 kB / 0.7124 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/0.3745, allocations: 23.98 kB / 0.7124 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001272/0.3757, allocations: 0.7713 MB / 0.7132 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3757, allocations: 0 / 0.7132 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001511/0.3773, allocations: 491.7 kB / 0.7137 GB, free: 1.141 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.0002954/0.3776, allocations: 133.6 kB / 0.7138 GB, free: 1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2214/0.5989, allocations: 2.477 MB / 0.7162 GB, free: 85.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5989, allocations: 0 / 0.7162 GB, free: 85.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/0.6037, allocations: 1.556 MB / 0.7177 GB, free: 85.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6048, allocations: 117.4 kB / 0.7178 GB, free: 85.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.6092, allocations: 2.455 MB / 0.7202 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.6098, allocations: 1.133 MB / 0.7213 GB, free: 83.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005633/0.6104, allocations: 122.3 kB / 0.7215 GB, free: 83.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.6107, allocations: 79.67 kB / 0.7215 GB, free: 83.85 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.6107, allocations: 1.125 kB / 0.7215 GB, free: 83.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.03706/0.6478, allocations: 24.89 MB / 0.7458 GB, free: 74.14 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)