Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 106.7 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.1 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 188.5 kB / 290.4 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5597/0.5597, allocations: 91.9 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 76.78 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1444, allocations: 71.28 MB / 0.643 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007392/0.1518, allocations: 6.718 MB / 0.6496 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.1563, allocations: 2.017 MB / 0.6515 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008932/0.1572, allocations: 12 kB / 0.6516 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.1581, allocations: 237.9 kB / 0.6518 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.1603, allocations: 0.8307 MB / 0.6526 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1616, allocations: 0.6367 MB / 0.6532 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.1633, allocations: 1.682 MB / 0.6549 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.1638, allocations: 326.4 kB / 0.6552 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008121/0.1646, allocations: 0.6886 MB / 0.6558 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009656/0.1656, allocations: 0.8829 MB / 0.6567 GB, free: 5.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.1658, allocations: 132 kB / 0.6568 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.1664, allocations: 267.9 kB / 0.6571 GB, free: 5.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.1667, allocations: 346.6 kB / 0.6574 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.1673, allocations: 0.6952 MB / 0.6581 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.1691, allocations: 1.736 MB / 0.6598 GB, free: 2.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1691, allocations: 0 / 0.6598 GB, free: 2.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1691, allocations: 3.984 kB / 0.6598 GB, free: 2.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.1691, allocations: 0 / 0.6598 GB, free: 2.422 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.009641/0.1788, allocations: 2.784 MB / 0.6625 GB, free: 15.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.1788, allocations: 8.031 kB / 0.6625 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/0.184, allocations: 0.7787 MB / 0.6633 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.1857, allocations: 0.9296 MB / 0.6642 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.186, allocations: 252.2 kB / 0.6644 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.1862, allocations: 91.91 kB / 0.6645 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.1884, allocations: 1.11 MB / 0.6656 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1884, allocations: 3.938 kB / 0.6656 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.1885, allocations: 32 kB / 0.6656 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.1885, allocations: 24 kB / 0.6657 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1907, allocations: 1.003 MB / 0.6666 GB, free: 11.24 MB / 478.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.007047/0.1977, allocations: 3.883 MB / 0.6704 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007917/0.2056, allocations: 2.404 MB / 0.6728 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.2072, allocations: 0.6918 MB / 0.6734 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2073, allocations: 16.98 kB / 0.6735 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/0.209, allocations: 0.8372 MB / 0.6743 GB, free: 3.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 4.92e-06/0.209, allocations: 0 / 0.6743 GB, free: 3.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02993/0.239, allocations: 7.081 MB / 0.6812 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2391, allocations: 115.8 kB / 0.6813 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.2413, allocations: 1.151 MB / 0.6824 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.2416, allocations: 45.7 kB / 0.6825 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.2421, allocations: 0.5046 MB / 0.683 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.2426, allocations: 362.9 kB / 0.6833 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/0.2431, allocations: 295.4 kB / 0.6836 GB, free: 9.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2433, allocations: 305.1 kB / 0.6839 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.2449, allocations: 0.8042 MB / 0.6847 GB, free: 8.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.2466, allocations: 0.9655 MB / 0.6856 GB, free: 7.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02644/0.273, allocations: 5.923 MB / 0.6914 GB, free: 1.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.2731, allocations: 0 / 0.6914 GB, free: 1.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01432/0.2874, allocations: 4.512 MB / 0.6958 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.2876, allocations: 59.41 kB / 0.6959 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.2876, allocations: 7.984 kB / 0.6959 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006444/0.294, allocations: 1.662 MB / 0.6975 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.2958, allocations: 299.6 kB / 0.6978 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.3164, allocations: 8.611 MB / 0.7062 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.3188, allocations: 210.6 kB / 0.7064 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.3189, allocations: 59.97 kB / 0.7064 GB, free: 1.719 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.0006987/0.3196, allocations: 301.8 kB / 0.7067 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.3199, allocations: 126.4 kB / 0.7069 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.3328, allocations: 3.924 MB / 0.7107 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.3328, allocations: 19.98 kB / 0.7107 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3328, allocations: 4 kB / 0.7107 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3329, allocations: 3.984 kB / 0.7107 GB, free: 13.3 MB / 0.5137 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.01462/0.3475, allocations: 5.557 MB / 0.7161 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.3475, allocations: 0 / 0.7161 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.3483, allocations: 103.8 kB / 0.7162 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005557/0.3538, allocations: 1.599 MB / 0.7178 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.3541, allocations: 28 kB / 0.7178 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.3742, allocations: 9.619 MB / 0.7272 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3743, allocations: 0 / 0.7272 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.3891, allocations: 4.813 MB / 0.7319 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.3897, allocations: 219.3 kB / 0.7321 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.3899, allocations: 27.92 kB / 0.7322 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.3913, allocations: 115.9 kB / 0.7323 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006294/0.3919, allocations: 192.7 kB / 0.7325 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.392, allocations: 27.98 kB / 0.7325 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001148/0.3931, allocations: 0.7713 MB / 0.7332 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3931, allocations: 4 kB / 0.7332 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001551/0.3947, allocations: 487.5 kB / 0.7337 GB, free: 5.297 MB / 0.5294 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.0003033/0.395, allocations: 142.9 kB / 0.7338 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006782/0.4018, allocations: 2.621 MB / 0.7364 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4018, allocations: 128 / 0.7364 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/0.4063, allocations: 1.615 MB / 0.738 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.4074, allocations: 112.5 kB / 0.7381 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.412, allocations: 2.464 MB / 0.7405 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/0.4127, allocations: 1.136 MB / 0.7416 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.4131, allocations: 91.41 kB / 0.7417 GB, free: 12.97 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/0.4131, allocations: 0 / 0.7417 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Templates: time 0.03035/0.4435, allocations: 24.32 MB / 0.7654 GB, free: 4.641 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)