Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.313/1.313, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001303/0.001303, allocations: 188.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.498/0.498, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 78.48 kB / 0.5734 GB, free: 33.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 71.29 MB / 0.643 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.006531/0.1217, allocations: 6.542 MB / 0.6494 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00365/0.1254, allocations: 2.013 MB / 0.6514 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000535/0.1259, allocations: 8 kB / 0.6514 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.1266, allocations: 246 kB / 0.6516 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1285, allocations: 0.853 MB / 0.6524 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1298, allocations: 0.6628 MB / 0.6531 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.1314, allocations: 1.612 MB / 0.6547 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.1318, allocations: 318.3 kB / 0.655 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.1326, allocations: 0.6536 MB / 0.6556 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008833/0.1335, allocations: 0.8519 MB / 0.6564 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.1337, allocations: 128 kB / 0.6566 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.1342, allocations: 259.9 kB / 0.6568 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.1345, allocations: 346.5 kB / 0.6571 GB, free: 5.164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.135, allocations: 0.6758 MB / 0.6578 GB, free: 4.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1366, allocations: 1.685 MB / 0.6594 GB, free: 2.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1366, allocations: 7.938 kB / 0.6595 GB, free: 2.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1366, allocations: 0 / 0.6595 GB, free: 2.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.1367, allocations: 0 / 0.6595 GB, free: 2.785 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009022/0.1457, allocations: 2.727 MB / 0.6621 GB, free: 15.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1458, allocations: 8.031 kB / 0.6621 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.1511, allocations: 0.7748 MB / 0.6629 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.1528, allocations: 0.9138 MB / 0.6638 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.1531, allocations: 238.5 kB / 0.664 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.1533, allocations: 80 kB / 0.6641 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.1555, allocations: 1.099 MB / 0.6652 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1555, allocations: 7.938 kB / 0.6652 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.1556, allocations: 32 kB / 0.6652 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1557, allocations: 16 kB / 0.6652 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.1578, allocations: 1.011 MB / 0.6662 GB, free: 11.71 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.006716/0.1645, allocations: 3.909 MB / 0.67 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0077/0.1722, allocations: 2.348 MB / 0.6723 GB, free: 5.156 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.1737, allocations: 0.6975 MB / 0.673 GB, free: 4.457 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.53e-05/0.1738, allocations: 24.97 kB / 0.673 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1738, allocations: 39.56 kB / 0.673 GB, free: 4.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.256e-06/0.1738, allocations: 0 / 0.673 GB, free: 4.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02809/0.2019, allocations: 6.72 MB / 0.6796 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.2021, allocations: 137.5 kB / 0.6797 GB, free: 13.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.2038, allocations: 1.119 MB / 0.6808 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.204, allocations: 45.7 kB / 0.6809 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.2044, allocations: 0.493 MB / 0.6814 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.2047, allocations: 351 kB / 0.6817 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.2052, allocations: 283.4 kB / 0.682 GB, free: 11.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.2053, allocations: 305.1 kB / 0.6823 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.207, allocations: 0.7856 MB / 0.683 GB, free: 10.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.2088, allocations: 0.9546 MB / 0.684 GB, free: 9.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02576/0.2346, allocations: 5.774 MB / 0.6896 GB, free: 3.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2346, allocations: 0 / 0.6896 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01473/0.2494, allocations: 4.43 MB / 0.6939 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.2495, allocations: 60.66 kB / 0.694 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.2495, allocations: 0 / 0.694 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006484/0.256, allocations: 1.627 MB / 0.6956 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.2575, allocations: 271.6 kB / 0.6958 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/0.2792, allocations: 8.619 MB / 0.7042 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.2811, allocations: 194.6 kB / 0.7044 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.2813, allocations: 51.98 kB / 0.7045 GB, free: 3.766 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002079/0.2833, allocations: 0.9735 MB / 0.7054 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001757/0.2851, allocations: 0.9389 MB / 0.7063 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02673/0.3119, allocations: 5.743 MB / 0.712 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.688e-06/0.3119, allocations: 4 kB / 0.712 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=190) (initialization_lambda0): time 0.01465/0.3266, allocations: 4.402 MB / 0.7163 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.3266, allocations: 63.34 kB / 0.7163 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3266, allocations: 0 / 0.7163 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006269/0.3329, allocations: 1.625 MB / 0.7179 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.3343, allocations: 263.6 kB / 0.7182 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/0.356, allocations: 8.611 MB / 0.7266 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.358, allocations: 178.9 kB / 0.7267 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.3582, allocations: 55.92 kB / 0.7268 GB, free: 12.57 MB / 0.5294 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004833/0.3587, allocations: 292.7 kB / 0.7271 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.3591, allocations: 126.4 kB / 0.7272 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.3722, allocations: 3.79 MB / 0.7309 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/0.3723, allocations: 3.984 kB / 0.7309 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.3723, allocations: 7.938 kB / 0.7309 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.3728, allocations: 223.3 kB / 0.7311 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.3732, allocations: 19.98 kB / 0.7311 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.3745, allocations: 99.88 kB / 0.7312 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009746/0.3755, allocations: 420.4 kB / 0.7316 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006536/0.3821, allocations: 2.19 MB / 0.7338 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004581/0.3867, allocations: 2.312 MB / 0.736 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001302/0.388, allocations: 0.5817 MB / 0.7366 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001217/0.3892, allocations: 0.7589 MB / 0.7373 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of Backend: time 7.11e-07/0.3892, allocations: 0 / 0.7373 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.4007, allocations: 4.043 MB / 0.7413 GB, free: 13.53 MB / 0.545 GB Notification: Performance of SimCode: time 0.003787/0.4046, allocations: 2.955 MB / 0.7442 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Templates: time 0.3102/0.7147, allocations: 34.18 MB / 0.7775 GB, free: 118 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)