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.09752/0.09752, allocations: 12.58 MB / 28.22 MB, free: 0.7734 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.001285/0.001285, allocations: 111.4 kB / 31.84 MB, free: 3.906 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.556/1.556, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001168/0.001168, allocations: 188.5 kB / 290.7 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.4773/0.4773, allocations: 78.5 MB / 419.3 MB, free: 11.24 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.002704/0.002704, allocations: 133.2 kB / 0.5559 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1491, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.00761/0.1568, allocations: 6.761 MB / 0.629 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.1614, allocations: 1.979 MB / 0.6309 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.1626, allocations: 15.94 kB / 0.6309 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008752/0.1636, allocations: 246 kB / 0.6312 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.1658, allocations: 0.8662 MB / 0.632 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1673, allocations: 0.6578 MB / 0.6327 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.1691, allocations: 1.671 MB / 0.6343 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.1696, allocations: 326.5 kB / 0.6346 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000928/0.1705, allocations: 0.6885 MB / 0.6353 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009113/0.1715, allocations: 0.8751 MB / 0.6361 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.1717, allocations: 132 kB / 0.6363 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.1722, allocations: 271.9 kB / 0.6365 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.1725, allocations: 354.5 kB / 0.6369 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.1731, allocations: 0.6914 MB / 0.6375 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.1749, allocations: 1.743 MB / 0.6392 GB, free: 14.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1749, allocations: 0 / 0.6392 GB, free: 14.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1749, allocations: 0 / 0.6392 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1749, allocations: 0 / 0.6392 GB, free: 14.11 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.008955/0.1839, allocations: 2.819 MB / 0.642 GB, free: 11.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1839, allocations: 15.98 kB / 0.642 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/0.1889, allocations: 0.7874 MB / 0.6428 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.1906, allocations: 0.9306 MB / 0.6437 GB, free: 9.434 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.1909, allocations: 264.2 kB / 0.6439 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.1911, allocations: 87.95 kB / 0.644 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.1934, allocations: 1.114 MB / 0.6451 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1934, allocations: 4 kB / 0.6451 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1935, allocations: 31.98 kB / 0.6451 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.1935, allocations: 20 kB / 0.6452 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.1956, allocations: 1.003 MB / 0.6461 GB, free: 6.867 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.006521/0.2021, allocations: 3.907 MB / 0.65 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007126/0.2093, allocations: 2.396 MB / 0.6523 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.2108, allocations: 0.6957 MB / 0.653 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.2109, allocations: 21 kB / 0.653 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.2125, allocations: 0.8372 MB / 0.6538 GB, free: 14.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.615e-06/0.2125, allocations: 0 / 0.6538 GB, free: 14.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02737/0.2399, allocations: 7.097 MB / 0.6607 GB, free: 7.559 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.24, allocations: 115.8 kB / 0.6609 GB, free: 7.422 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.2417, allocations: 1.147 MB / 0.662 GB, free: 6.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.2419, allocations: 45.7 kB / 0.662 GB, free: 6.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.2423, allocations: 0.4977 MB / 0.6625 GB, free: 5.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.2427, allocations: 384.7 kB / 0.6629 GB, free: 5.328 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/0.2432, allocations: 299.5 kB / 0.6632 GB, free: 5.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.2433, allocations: 301.1 kB / 0.6634 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.2449, allocations: 0.7965 MB / 0.6642 GB, free: 3.938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2466, allocations: 0.9733 MB / 0.6652 GB, free: 2.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02456/0.2712, allocations: 5.93 MB / 0.671 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.2712, allocations: 4 kB / 0.671 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01362/0.2849, allocations: 4.513 MB / 0.6754 GB, free: 8.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/0.285, allocations: 55.41 kB / 0.6754 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.285, allocations: 4 kB / 0.6754 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/0.2911, allocations: 1.661 MB / 0.677 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.2928, allocations: 303.6 kB / 0.6773 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.314, allocations: 8.628 MB / 0.6858 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.3162, allocations: 215.1 kB / 0.686 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/0.3166, allocations: 59.97 kB / 0.686 GB, free: 13.27 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.0009982/0.3176, allocations: 300.2 kB / 0.6863 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.3181, allocations: 139.1 kB / 0.6864 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.3309, allocations: 3.916 MB / 0.6903 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.331, allocations: 16 kB / 0.6903 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.331, allocations: 4 kB / 0.6903 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.331, allocations: 7.984 kB / 0.6903 GB, free: 8.855 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.01552/0.3466, allocations: 5.554 MB / 0.6957 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.3466, allocations: 0 / 0.6957 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007843/0.3474, allocations: 99.89 kB / 0.6958 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005654/0.3531, allocations: 1.595 MB / 0.6974 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/0.3534, allocations: 23.98 kB / 0.6974 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/0.3743, allocations: 9.648 MB / 0.7068 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3743, allocations: 0 / 0.7068 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.3893, allocations: 4.806 MB / 0.7115 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/0.3901, allocations: 235.9 kB / 0.7117 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/0.3907, allocations: 23.94 kB / 0.7118 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.3922, allocations: 115.9 kB / 0.7119 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007937/0.393, allocations: 192.7 kB / 0.7121 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.3932, allocations: 24 kB / 0.7121 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001494/0.3947, allocations: 0.7714 MB / 0.7128 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3947, allocations: 3.938 kB / 0.7128 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002162/0.3969, allocations: 491.6 kB / 0.7133 GB, free: 0.832 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.0003839/0.3973, allocations: 141.6 kB / 0.7134 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.316/0.7133, allocations: 2.627 MB / 0.716 GB, free: 86.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7134, allocations: 1.031 kB / 0.716 GB, free: 86.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0048/0.7182, allocations: 1.627 MB / 0.7176 GB, free: 86.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.7194, allocations: 110.8 kB / 0.7177 GB, free: 86.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.7242, allocations: 2.457 MB / 0.7201 GB, free: 85.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/0.7251, allocations: 1.134 MB / 0.7212 GB, free: 84.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006347/0.7257, allocations: 123.5 kB / 0.7213 GB, free: 84.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.726, allocations: 83.41 kB / 0.7214 GB, free: 84.49 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.726, allocations: 0 / 0.7214 GB, free: 84.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.04153/0.7676, allocations: 24.73 MB / 0.7456 GB, free: 74.32 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)