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.07095/0.07095, allocations: 12.59 MB / 28.76 MB, free: 356 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 107.5 kB / 32.37 MB, free: 3.469 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.079/1.079, allocations: 205.1 MB / 241 MB, free: 12.45 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.00111/0.00111, allocations: 192.4 kB / 291.2 MB, free: 11.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.372/0.372, allocations: 78.5 MB / 419.8 MB, free: 10.84 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.002366/0.002366, allocations: 135.8 kB / 0.4887 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2061, allocations: 68.12 MB / 0.5552 GB, free: 21.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004468/0.2106, allocations: 6.749 MB / 0.5618 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2127, allocations: 1.983 MB / 0.5638 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.213, allocations: 8 kB / 0.5638 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.2135, allocations: 257.9 kB / 0.564 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.2146, allocations: 0.8126 MB / 0.5648 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.2154, allocations: 0.6419 MB / 0.5654 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.2162, allocations: 1.659 MB / 0.5671 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.2165, allocations: 322.5 kB / 0.5674 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.2169, allocations: 0.6924 MB / 0.568 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.2175, allocations: 0.8713 MB / 0.5689 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.2176, allocations: 132 kB / 0.569 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.218, allocations: 263.9 kB / 0.5693 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.2182, allocations: 358.5 kB / 0.5696 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.2185, allocations: 0.6991 MB / 0.5703 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.2194, allocations: 1.717 MB / 0.572 GB, free: 4.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2194, allocations: 0 / 0.572 GB, free: 4.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2194, allocations: 0 / 0.572 GB, free: 4.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2194, allocations: 0 / 0.572 GB, free: 4.293 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007249/0.2267, allocations: 2.778 MB / 0.5747 GB, free: 1.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.431e-05/0.2267, allocations: 19.92 kB / 0.5747 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.2309, allocations: 0.7748 MB / 0.5755 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.232, allocations: 0.918 MB / 0.5764 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.2322, allocations: 260.2 kB / 0.5766 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2324, allocations: 87.91 kB / 0.5767 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.2343, allocations: 1.118 MB / 0.5778 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2343, allocations: 0 / 0.5778 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.2344, allocations: 32 kB / 0.5778 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.2344, allocations: 16 kB / 0.5778 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.2362, allocations: 0.9995 MB / 0.5788 GB, free: 13.12 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.005584/0.2418, allocations: 3.93 MB / 0.5826 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/0.2488, allocations: 2.399 MB / 0.585 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.25, allocations: 0.6966 MB / 0.5857 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/0.2501, allocations: 20.92 kB / 0.5857 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.2515, allocations: 0.8411 MB / 0.5865 GB, free: 4.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.034e-06/0.2516, allocations: 4 kB / 0.5865 GB, free: 4.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02579/0.2774, allocations: 7.089 MB / 0.5934 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2774, allocations: 115.8 kB / 0.5935 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.2787, allocations: 1.135 MB / 0.5947 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.241e-05/0.2788, allocations: 41.7 kB / 0.5947 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.2791, allocations: 0.5008 MB / 0.5952 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.2794, allocations: 366.9 kB / 0.5955 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.2799, allocations: 299.3 kB / 0.5958 GB, free: 11.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2799, allocations: 309.2 kB / 0.5961 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.2814, allocations: 0.7926 MB / 0.5969 GB, free: 10.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.283, allocations: 0.9733 MB / 0.5978 GB, free: 9.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0231/0.3061, allocations: 5.947 MB / 0.6036 GB, free: 3.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3062, allocations: 4 kB / 0.6036 GB, free: 3.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01284/0.319, allocations: 4.5 MB / 0.608 GB, free: 14.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.3191, allocations: 59.41 kB / 0.6081 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3191, allocations: 4 kB / 0.6081 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005826/0.3249, allocations: 1.677 MB / 0.6097 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3262, allocations: 291.6 kB / 0.61 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.345, allocations: 8.63 MB / 0.6184 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.3467, allocations: 206.6 kB / 0.6186 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.3468, allocations: 63.91 kB / 0.6187 GB, free: 3.508 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.00049/0.3473, allocations: 296.2 kB / 0.619 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3476, allocations: 130.4 kB / 0.6191 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.3595, allocations: 3.92 MB / 0.6229 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3595, allocations: 15.98 kB / 0.623 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3595, allocations: 4 kB / 0.623 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3596, allocations: 7.984 kB / 0.623 GB, free: 15.1 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.01334/0.3729, allocations: 5.555 MB / 0.6284 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3729, allocations: 0 / 0.6284 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.3735, allocations: 107.9 kB / 0.6285 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005148/0.3787, allocations: 1.603 MB / 0.6301 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/0.3788, allocations: 24 kB / 0.6301 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.3972, allocations: 9.623 MB / 0.6395 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3973, allocations: 0 / 0.6395 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.4107, allocations: 4.807 MB / 0.6442 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.4111, allocations: 223.2 kB / 0.6444 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.4113, allocations: 35.92 kB / 0.6444 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4124, allocations: 104 kB / 0.6445 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/0.4129, allocations: 200.7 kB / 0.6447 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.413, allocations: 31.98 kB / 0.6447 GB, free: 8.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009844/0.414, allocations: 0.7712 MB / 0.6455 GB, free: 7.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.414, allocations: 0 / 0.6455 GB, free: 7.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4151, allocations: 487.5 kB / 0.646 GB, free: 7.09 MB / 462.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.0002278/0.4154, allocations: 144.5 kB / 0.6461 GB, free: 6.938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006245/0.4216, allocations: 2.659 MB / 0.6487 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4216, allocations: 0 / 0.6487 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003864/0.4255, allocations: 1.612 MB / 0.6503 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.4262, allocations: 113.8 kB / 0.6504 GB, free: 2.473 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.4297, allocations: 2.501 MB / 0.6528 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.4302, allocations: 1.132 MB / 0.6539 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.4305, allocations: 83.42 kB / 0.654 GB, free: 14.7 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4305, allocations: 0 / 0.654 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Templates: time 0.02281/0.4533, allocations: 24.21 MB / 0.6777 GB, free: 6.488 MB / 494.1 MB 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)