Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 110.5 kB / 16.42 MB, free: 6.465 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.34/1.34, allocations: 222.9 MB / 240.1 MB, free: 4.34 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.001338/0.001338, allocations: 196.4 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5001/0.5001, allocations: 91.9 MB / 432.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 80.88 kB / 0.5735 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1015, allocations: 71.29 MB / 0.6431 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01747/0.119, allocations: 21.83 MB / 0.6645 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009794/0.1288, allocations: 4.853 MB / 0.6692 GB, free: 8.652 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.1316, allocations: 44 kB / 0.6692 GB, free: 8.609 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.1336, allocations: 0.8866 MB / 0.6701 GB, free: 7.715 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.1392, allocations: 2.284 MB / 0.6723 GB, free: 5.422 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.1439, allocations: 2.063 MB / 0.6744 GB, free: 3.391 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006406/0.1503, allocations: 5.716 MB / 0.6799 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.1523, allocations: 1.318 MB / 0.6812 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.1553, allocations: 2.322 MB / 0.6835 GB, free: 9.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.1588, allocations: 2.936 MB / 0.6864 GB, free: 7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.16, allocations: 436 kB / 0.6868 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1616, allocations: 0.5741 MB / 0.6873 GB, free: 6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.1629, allocations: 1.151 MB / 0.6885 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003099/0.166, allocations: 2.617 MB / 0.691 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006149/0.1722, allocations: 6.208 MB / 0.6971 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1722, allocations: 0 / 0.6971 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1722, allocations: 4 kB / 0.6971 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001786/0.1724, allocations: 0 / 0.6971 GB, free: 11.98 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.0301/0.2025, allocations: 9.15 MB / 0.706 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2025, allocations: 12.03 kB / 0.706 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0269/0.2294, allocations: 4.005 MB / 0.7099 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005/0.2345, allocations: 2.654 MB / 0.7125 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.2355, allocations: 0.9574 MB / 0.7135 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008909/0.2364, allocations: 340 kB / 0.7138 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.2465, allocations: 4.727 MB / 0.7184 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.2466, allocations: 11.88 kB / 0.7184 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.2471, allocations: 140 kB / 0.7185 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.2472, allocations: 84 kB / 0.7186 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008858/0.256, allocations: 4.248 MB / 0.7228 GB, free: 1.301 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 preOpt removeSimpleEquations (simulation): time 0.03091/0.2869, allocations: 18.22 MB / 0.7406 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.2991, allocations: 4.992 MB / 0.7454 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005473/0.3046, allocations: 2.779 MB / 0.7482 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.305, allocations: 70.83 kB / 0.7482 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006473/0.3115, allocations: 3.173 MB / 0.7513 GB, free: 2.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 7.914e-06/0.3116, allocations: 0 / 0.7513 GB, free: 2.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.5552/0.8668, allocations: 68.04 MB / 0.8178 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.8669, allocations: 145.8 kB / 0.8179 GB, free: 83.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/0.8705, allocations: 3.215 MB / 0.8211 GB, free: 80.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007775/0.8713, allocations: 91.58 kB / 0.8211 GB, free: 80.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.8724, allocations: 1.966 MB / 0.8231 GB, free: 79.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.8735, allocations: 1.313 MB / 0.8243 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.8747, allocations: 0.6743 MB / 0.825 GB, free: 77.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.8747, allocations: 305.1 kB / 0.8253 GB, free: 77.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004846/0.8796, allocations: 2.585 MB / 0.8278 GB, free: 74.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005083/0.8847, allocations: 3.209 MB / 0.831 GB, free: 71.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06384/0.9485, allocations: 18.78 MB / 0.8493 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.9486, allocations: 4 kB / 0.8493 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05395/1.003, allocations: 17.25 MB / 0.8661 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/1.003, allocations: 67.41 kB / 0.8662 GB, free: 34.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/1.003, allocations: 17.53 kB / 0.8662 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02361/1.026, allocations: 7.154 MB / 0.8732 GB, free: 27.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/1.029, allocations: 0.6748 MB / 0.8739 GB, free: 26.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0808/1.11, allocations: 33.27 MB / 0.9064 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.116, allocations: 0.6133 MB / 0.907 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000451/1.116, allocations: 160 kB / 0.9071 GB, free: 8.609 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001648/1.118, allocations: 0.6639 MB / 0.9078 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008249/1.119, allocations: 458.3 kB / 0.9082 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05693/1.176, allocations: 16.84 MB / 0.9247 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-05/1.176, allocations: 20.48 kB / 0.9247 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.176, allocations: 0 / 0.9247 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.177, allocations: 0.557 MB / 0.9252 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.178, allocations: 66.16 kB / 0.9253 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004487/1.183, allocations: 390.6 kB / 0.9257 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006733/1.19, allocations: 1.91 MB / 0.9275 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02568/1.215, allocations: 8.302 MB / 0.9356 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01833/1.234, allocations: 8.198 MB / 0.9436 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005224/1.239, allocations: 2.269 MB / 0.9458 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003345/1.242, allocations: 2.103 MB / 0.9479 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of Backend: time 7.71e-07/1.242, allocations: 0 / 0.9479 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02267/1.265, allocations: 6.864 MB / 0.9546 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01377/1.279, allocations: 8.909 MB / 0.9633 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.368/1.647, allocations: 83.99 MB / 1.045 GB, free: 239.1 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)