Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001121, allocations: 106.1 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.348/1.348, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001325/0.001325, allocations: 184.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5109/0.5109, allocations: 91.89 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 82.88 kB / 0.5735 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 71.28 MB / 0.6431 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII): time 0.01122/0.1142, allocations: 12.94 MB / 0.6557 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.1203, allocations: 3.273 MB / 0.6589 GB, free: 3.266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.1217, allocations: 24 kB / 0.6589 GB, free: 3.242 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1227, allocations: 0.5034 MB / 0.6594 GB, free: 2.734 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.126, allocations: 1.463 MB / 0.6608 GB, free: 1.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003055/0.1291, allocations: 1.463 MB / 0.6623 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003476/0.1326, allocations: 3.297 MB / 0.6655 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1336, allocations: 0.747 MB / 0.6662 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.1353, allocations: 1.361 MB / 0.6675 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.1378, allocations: 1.789 MB / 0.6693 GB, free: 8.562 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006575/0.1385, allocations: 255.9 kB / 0.6695 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.1395, allocations: 399.8 kB / 0.6699 GB, free: 7.922 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.1401, allocations: 0.6651 MB / 0.6706 GB, free: 7.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.1418, allocations: 1.507 MB / 0.672 GB, free: 5.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.1453, allocations: 3.6 MB / 0.6756 GB, free: 2.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1453, allocations: 0 / 0.6756 GB, free: 2.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1453, allocations: 0 / 0.6756 GB, free: 2.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.413e-05/0.1454, allocations: 4 kB / 0.6756 GB, free: 2.125 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.02276/0.1682, allocations: 6.099 MB / 0.6815 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1682, allocations: 8.031 kB / 0.6815 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.1841, allocations: 2.252 MB / 0.6837 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.187, allocations: 1.638 MB / 0.6853 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006358/0.1876, allocations: 0.6591 MB / 0.686 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.1882, allocations: 215.8 kB / 0.6862 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.1945, allocations: 2.886 MB / 0.689 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1946, allocations: 3.938 kB / 0.689 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/0.1948, allocations: 83.94 kB / 0.6891 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.1949, allocations: 48 kB / 0.6891 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0059/0.2008, allocations: 2.658 MB / 0.6917 GB, free: 1.316 MB / 494.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.01781/0.2186, allocations: 9.513 MB / 0.701 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.23, allocations: 4.02 MB / 0.7049 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/0.2342, allocations: 1.885 MB / 0.7068 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.2344, allocations: 41.95 kB / 0.7068 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.2345, allocations: 68.5 kB / 0.7069 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=228): time 5.28e-06/0.2345, allocations: 0 / 0.7069 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=228): time 0.1327/0.3672, allocations: 28.83 MB / 0.735 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.3673, allocations: 128.8 kB / 0.7352 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.3701, allocations: 1.984 MB / 0.7371 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003874/0.3705, allocations: 65.7 kB / 0.7372 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007748/0.3713, allocations: 1.069 MB / 0.7382 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008716/0.3722, allocations: 0.8049 MB / 0.739 GB, free: 224 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.3733, allocations: 0.4984 MB / 0.7395 GB, free: 15.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.3734, allocations: 309 kB / 0.7398 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004395/0.3778, allocations: 1.877 MB / 0.7416 GB, free: 13.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.3825, allocations: 2.23 MB / 0.7438 GB, free: 11.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0594/0.4419, allocations: 13.69 MB / 0.7571 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.4419, allocations: 4 kB / 0.7571 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.04201/0.4839, allocations: 12.15 MB / 0.769 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.484, allocations: 8 kB / 0.769 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.484, allocations: 4 kB / 0.769 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2711/0.7552, allocations: 5.213 MB / 0.7741 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.7577, allocations: 490.4 kB / 0.7746 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05999/0.8177, allocations: 23.18 MB / 0.7972 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/0.8214, allocations: 438.8 kB / 0.7976 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/0.8216, allocations: 102.6 kB / 0.7977 GB, free: 100.2 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004464/0.8261, allocations: 2.179 MB / 0.7999 GB, free: 99.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003877/0.83, allocations: 2.201 MB / 0.802 GB, free: 98.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05442/0.8844, allocations: 13.62 MB / 0.8153 GB, free: 89.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.126e-05/0.8845, allocations: 4 kB / 0.8153 GB, free: 89.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.03915/0.9236, allocations: 12.1 MB / 0.8271 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9237, allocations: 8 kB / 0.8271 GB, free: 77.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.9237, allocations: 11.94 kB / 0.8271 GB, free: 77.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0171/0.9408, allocations: 5.207 MB / 0.8322 GB, free: 72.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.9432, allocations: 483.3 kB / 0.8327 GB, free: 71.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06363/1.007, allocations: 23.18 MB / 0.8553 GB, free: 48.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005496/1.012, allocations: 407 kB / 0.8557 GB, free: 48.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006523/1.013, allocations: 108 kB / 0.8558 GB, free: 47.9 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (290): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * 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 {(62,26,8.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001248/1.014, allocations: 328.6 kB / 0.8561 GB, free: 47.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009984/1.015, allocations: 268.6 kB / 0.8564 GB, free: 47.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0727/1.088, allocations: 11.44 MB / 0.8676 GB, free: 35.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-05/1.088, allocations: 11.95 kB / 0.8676 GB, free: 35.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/1.088, allocations: 0 / 0.8676 GB, free: 35.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.089, allocations: 369.2 kB / 0.8679 GB, free: 35.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009379/1.09, allocations: 36 kB / 0.868 GB, free: 35.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/1.095, allocations: 257.8 kB / 0.8682 GB, free: 35.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007327/1.103, allocations: 1.381 MB / 0.8696 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0286/1.131, allocations: 5.165 MB / 0.8746 GB, free: 28.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02106/1.152, allocations: 5.382 MB / 0.8799 GB, free: 23.25 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006213/1.159, allocations: 1.507 MB / 0.8813 GB, free: 21.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00278/1.161, allocations: 1.286 MB / 0.8826 GB, free: 20.44 MB / 0.5606 GB Notification: Performance of Backend: time 1.022e-06/1.161, allocations: 0 / 0.8826 GB, free: 20.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0483/1.21, allocations: 9.134 MB / 0.8915 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01067/1.221, allocations: 5.697 MB / 0.8971 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.1511/1.372, allocations: 82.39 MB / 0.9775 GB, free: 3.219 MB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)