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.0833/0.0833, allocations: 12.6 MB / 28.9 MB, free: 428 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.001035/0.001035, allocations: 111.5 kB / 32.5 MB, free: 3.426 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.422/1.422, 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.001652/0.001652, allocations: 191.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4292/0.4292, allocations: 78.51 MB / 420 MB, free: 11.23 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.002878/0.002878, allocations: 138.8 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1376, 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.007937/0.1456, allocations: 6.773 MB / 0.6297 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.1503, allocations: 1.967 MB / 0.6316 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1517, allocations: 12 kB / 0.6316 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.1528, allocations: 253.9 kB / 0.6318 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.156, allocations: 0.8273 MB / 0.6326 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.1577, allocations: 0.6427 MB / 0.6333 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.1604, allocations: 1.675 MB / 0.6349 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.1611, allocations: 322.5 kB / 0.6352 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.1624, allocations: 0.6925 MB / 0.6359 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.1639, allocations: 0.8751 MB / 0.6367 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.1644, allocations: 128 kB / 0.6369 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008961/0.1653, allocations: 271.8 kB / 0.6371 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.1658, allocations: 350.6 kB / 0.6375 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.1669, allocations: 0.6992 MB / 0.6381 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.1693, allocations: 1.732 MB / 0.6398 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1693, allocations: 4 kB / 0.6398 GB, free: 14.17 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1694, allocations: 0 / 0.6398 GB, free: 14.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.185e-05/0.1694, allocations: 0 / 0.6398 GB, free: 14.17 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.01046/0.1799, allocations: 2.778 MB / 0.6426 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.18, allocations: 15.98 kB / 0.6426 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/0.1855, allocations: 0.7748 MB / 0.6433 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.1876, allocations: 0.9257 MB / 0.6442 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.188, allocations: 260.2 kB / 0.6445 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/0.1884, allocations: 91.91 kB / 0.6446 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.191, allocations: 1.106 MB / 0.6456 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1911, allocations: 0 / 0.6456 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1912, allocations: 32 kB / 0.6457 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.1912, allocations: 23.98 kB / 0.6457 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.1934, allocations: 0.9994 MB / 0.6467 GB, free: 6.996 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.007755/0.2012, allocations: 3.895 MB / 0.6505 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007572/0.2088, allocations: 2.408 MB / 0.6528 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.2104, allocations: 0.6956 MB / 0.6535 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.2106, allocations: 16.97 kB / 0.6535 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.2124, allocations: 0.8372 MB / 0.6543 GB, free: 14.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.616e-06/0.2125, allocations: 4 kB / 0.6543 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02937/0.2418, allocations: 7.089 MB / 0.6613 GB, free: 7.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.242, allocations: 115.8 kB / 0.6614 GB, free: 7.559 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2441, allocations: 1.135 MB / 0.6625 GB, free: 6.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003205/0.2445, allocations: 49.73 kB / 0.6625 GB, free: 6.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.245, allocations: 0.4969 MB / 0.663 GB, free: 5.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006756/0.2457, allocations: 362.9 kB / 0.6634 GB, free: 5.492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009351/0.2466, allocations: 299.4 kB / 0.6637 GB, free: 5.195 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2468, allocations: 309.1 kB / 0.6639 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.2487, allocations: 0.8003 MB / 0.6647 GB, free: 4.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.2506, allocations: 0.9655 MB / 0.6657 GB, free: 3.082 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0262/0.2768, allocations: 5.923 MB / 0.6715 GB, free: 13.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.2769, allocations: 0 / 0.6715 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01517/0.2921, allocations: 4.508 MB / 0.6759 GB, free: 8.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/0.2922, allocations: 63.39 kB / 0.6759 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.2922, allocations: 4 kB / 0.6759 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/0.2987, allocations: 1.669 MB / 0.6776 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.3004, allocations: 291.6 kB / 0.6778 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.3219, allocations: 8.615 MB / 0.6862 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.3243, allocations: 206.6 kB / 0.6864 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.3246, allocations: 63.97 kB / 0.6865 GB, free: 13.46 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.00119/0.3258, allocations: 304.2 kB / 0.6868 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.3266, allocations: 126.4 kB / 0.6869 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.3405, allocations: 3.92 MB / 0.6907 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.3406, allocations: 11.98 kB / 0.6908 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/0.3406, allocations: 12 kB / 0.6908 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-05/0.3406, allocations: 3.984 kB / 0.6908 GB, free: 9.047 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.01637/0.357, allocations: 5.553 MB / 0.6962 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.3571, allocations: 4 kB / 0.6962 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.3579, allocations: 103.8 kB / 0.6963 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005825/0.3637, allocations: 1.599 MB / 0.6979 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/0.3641, allocations: 27.98 kB / 0.6979 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/0.3859, allocations: 9.611 MB / 0.7073 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3859, allocations: 8 kB / 0.7073 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/0.4017, allocations: 4.793 MB / 0.712 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.4023, allocations: 235.2 kB / 0.7122 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/0.4029, allocations: 32 kB / 0.7122 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.4045, allocations: 103.9 kB / 0.7123 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007494/0.4053, allocations: 196.7 kB / 0.7125 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.4055, allocations: 32.09 kB / 0.7125 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001443/0.4069, allocations: 0.7673 MB / 0.7133 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4069, allocations: 0 / 0.7133 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002036/0.409, allocations: 491.5 kB / 0.7137 GB, free: 1.047 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.000408/0.4094, allocations: 149.6 kB / 0.7139 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.3242/0.7336, allocations: 2.615 MB / 0.7164 GB, free: 86.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7336, allocations: 0.5 kB / 0.7164 GB, free: 86.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005031/0.7387, allocations: 1.613 MB / 0.718 GB, free: 86.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.74, allocations: 118.1 kB / 0.7181 GB, free: 86.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.745, allocations: 2.454 MB / 0.7205 GB, free: 85.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000976/0.746, allocations: 1.134 MB / 0.7216 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.7465, allocations: 89.03 kB / 0.7217 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of SimCode: time 1.573e-06/0.7465, allocations: 0 / 0.7217 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.04108/0.7876, allocations: 24.33 MB / 0.7455 GB, free: 75 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)