Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.328/1.328, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001268/0.001268, allocations: 184.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5008/0.5008, allocations: 91.89 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 77.62 kB / 0.5735 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 71.28 MB / 0.6431 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI): time 0.01181/0.121, allocations: 13.5 MB / 0.6563 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.1282, allocations: 3.507 MB / 0.6597 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.1298, allocations: 28 kB / 0.6597 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1313, allocations: 0.5693 MB / 0.6603 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.1353, allocations: 1.535 MB / 0.6618 GB, free: 300 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.139, allocations: 1.561 MB / 0.6633 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.1437, allocations: 3.647 MB / 0.6668 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.1451, allocations: 0.8344 MB / 0.6677 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.1473, allocations: 1.493 MB / 0.6691 GB, free: 8.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.1498, allocations: 1.933 MB / 0.671 GB, free: 6.781 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008802/0.1507, allocations: 276 kB / 0.6713 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1521, allocations: 419.9 kB / 0.6717 GB, free: 6.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.1531, allocations: 0.7585 MB / 0.6724 GB, free: 5.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002222/0.1553, allocations: 1.619 MB / 0.674 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.1601, allocations: 3.927 MB / 0.6778 GB, free: 15.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1602, allocations: 0 / 0.6778 GB, free: 15.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1602, allocations: 0 / 0.6778 GB, free: 15.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.1603, allocations: 0 / 0.6778 GB, free: 15.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.02433/0.1846, allocations: 6.536 MB / 0.6842 GB, free: 9.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1847, allocations: 8.031 kB / 0.6842 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.2017, allocations: 2.279 MB / 0.6864 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.2056, allocations: 1.874 MB / 0.6883 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006442/0.2062, allocations: 0.6672 MB / 0.6889 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/0.2068, allocations: 215.9 kB / 0.6891 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006627/0.2134, allocations: 3.044 MB / 0.6921 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.2135, allocations: 0 / 0.6921 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.2138, allocations: 87.88 kB / 0.6922 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.2138, allocations: 52 kB / 0.6922 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006584/0.2204, allocations: 2.815 MB / 0.695 GB, free: 13.82 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 preOpt removeSimpleEquations (simulation): time 0.01977/0.2402, allocations: 9.898 MB / 0.7046 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.2517, allocations: 4.093 MB / 0.7086 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004456/0.2562, allocations: 1.98 MB / 0.7106 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.2565, allocations: 46.11 kB / 0.7106 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.2565, allocations: 56.56 kB / 0.7107 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.889e-06/0.2565, allocations: 0 / 0.7107 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242): time 0.135/0.3916, allocations: 29.46 MB / 0.7394 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.3918, allocations: 231.6 kB / 0.7397 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.3956, allocations: 2.268 MB / 0.7419 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006332/0.3963, allocations: 77.64 kB / 0.742 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008571/0.3971, allocations: 1.152 MB / 0.7431 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.3983, allocations: 0.851 MB / 0.7439 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.3994, allocations: 0.534 MB / 0.7444 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.3995, allocations: 301.1 kB / 0.7447 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004496/0.404, allocations: 1.952 MB / 0.7466 GB, free: 8.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004945/0.4089, allocations: 2.314 MB / 0.7489 GB, free: 5.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05804/0.467, allocations: 13.97 MB / 0.7625 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.467, allocations: 7.938 kB / 0.7625 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.2987/0.7657, allocations: 12.44 MB / 0.7747 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.7658, allocations: 120.2 kB / 0.7748 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.7658, allocations: 5.25 kB / 0.7748 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01945/0.7853, allocations: 5.279 MB / 0.78 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.7881, allocations: 0.529 MB / 0.7805 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05875/0.8469, allocations: 23.18 MB / 0.8031 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/0.8511, allocations: 467.5 kB / 0.8036 GB, free: 99.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.8515, allocations: 109.7 kB / 0.8037 GB, free: 99.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004821/0.8563, allocations: 2.274 MB / 0.8059 GB, free: 98.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004168/0.8605, allocations: 2.288 MB / 0.8081 GB, free: 96.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0529/0.9134, allocations: 13.92 MB / 0.8217 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.188e-05/0.9135, allocations: 4 kB / 0.8217 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.04071/0.9542, allocations: 12.39 MB / 0.8338 GB, free: 69.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.9543, allocations: 124.5 kB / 0.8339 GB, free: 69.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.9543, allocations: 4 kB / 0.8339 GB, free: 69.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/0.9717, allocations: 5.281 MB / 0.8391 GB, free: 64.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.9745, allocations: 0.5188 MB / 0.8396 GB, free: 64.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05721/1.032, allocations: 23.18 MB / 0.8622 GB, free: 40.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/1.036, allocations: 441.9 kB / 0.8627 GB, free: 40.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/1.036, allocations: 112 kB / 0.8628 GB, free: 40.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: 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 (310): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006948/1.037, allocations: 403 kB / 0.8631 GB, free: 39.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/1.037, allocations: 292.3 kB / 0.8634 GB, free: 39.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03875/1.076, allocations: 11.68 MB / 0.8748 GB, free: 27.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-05/1.076, allocations: 11.95 kB / 0.8748 GB, free: 27.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.076, allocations: 0 / 0.8748 GB, free: 27.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/1.077, allocations: 398.4 kB / 0.8752 GB, free: 27.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007756/1.078, allocations: 49.69 kB / 0.8753 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.081, allocations: 283.7 kB / 0.8755 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003912/1.085, allocations: 1.39 MB / 0.8769 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01547/1.1, allocations: 5.683 MB / 0.8824 GB, free: 19.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01164/1.112, allocations: 5.902 MB / 0.8882 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003551/1.116, allocations: 1.62 MB / 0.8898 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002051/1.118, allocations: 1.495 MB / 0.8913 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/1.118, allocations: 4 kB / 0.8913 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02891/1.147, allocations: 9.781 MB / 0.9008 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of SimCode: time 0.008027/1.155, allocations: 6.225 MB / 0.9069 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of Templates: time 0.1386/1.293, allocations: 86.36 MB / 0.9912 GB, free: 4.441 MB / 0.6544 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)