Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 110.9 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.309/1.309, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001365/0.001365, allocations: 187.8 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4961/0.4961, allocations: 91.91 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 78.64 kB / 0.5735 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 71.28 MB / 0.6431 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.01089/0.1232, allocations: 12.84 MB / 0.6556 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.1293, allocations: 3.269 MB / 0.6588 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.1309, allocations: 24 kB / 0.6588 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1321, allocations: 0.5072 MB / 0.6593 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.1359, allocations: 1.449 MB / 0.6607 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.1392, allocations: 1.447 MB / 0.6621 GB, free: 40 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.1429, allocations: 3.3 MB / 0.6654 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.144, allocations: 0.7431 MB / 0.6661 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.1457, allocations: 1.365 MB / 0.6674 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.1478, allocations: 1.793 MB / 0.6692 GB, free: 8.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006084/0.1484, allocations: 248 kB / 0.6694 GB, free: 8.527 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.1494, allocations: 399.9 kB / 0.6698 GB, free: 8.137 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000624/0.1501, allocations: 0.6767 MB / 0.6705 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.1517, allocations: 1.499 MB / 0.6719 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.1552, allocations: 3.608 MB / 0.6754 GB, free: 2.328 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1552, allocations: 0 / 0.6754 GB, free: 2.328 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1552, allocations: 0 / 0.6754 GB, free: 2.328 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.721e-05/0.1553, allocations: 0 / 0.6754 GB, free: 2.328 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02209/0.1774, allocations: 6.099 MB / 0.6814 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1774, allocations: 12.03 kB / 0.6814 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.193, allocations: 2.244 MB / 0.6836 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.1962, allocations: 1.649 MB / 0.6852 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006841/0.1969, allocations: 0.6591 MB / 0.6859 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006877/0.1976, allocations: 203.9 kB / 0.6861 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006922/0.2046, allocations: 2.886 MB / 0.6889 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.2046, allocations: 3.938 kB / 0.6889 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.205, allocations: 83.92 kB / 0.689 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.205, allocations: 51.94 kB / 0.689 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.2109, allocations: 2.658 MB / 0.6916 GB, free: 1.52 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.01786/0.2288, allocations: 9.485 MB / 0.7009 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.24, allocations: 4.02 MB / 0.7048 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/0.2441, allocations: 1.882 MB / 0.7066 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.2444, allocations: 45.97 kB / 0.7067 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.2444, allocations: 56.56 kB / 0.7067 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=227): time 4.609e-06/0.2445, allocations: 0 / 0.7067 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.1204/0.3648, allocations: 27.32 MB / 0.7334 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3649, allocations: 132.8 kB / 0.7335 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.3678, allocations: 1.984 MB / 0.7355 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005311/0.3683, allocations: 65.7 kB / 0.7355 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008094/0.3691, allocations: 1.085 MB / 0.7366 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.3702, allocations: 0.801 MB / 0.7374 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.3714, allocations: 0.4944 MB / 0.7379 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.3715, allocations: 301.1 kB / 0.7381 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004311/0.3758, allocations: 1.876 MB / 0.74 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.3804, allocations: 2.222 MB / 0.7421 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0579/0.4383, allocations: 13.67 MB / 0.7555 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.4384, allocations: 4 kB / 0.7555 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04394/0.4823, allocations: 12.13 MB / 0.7673 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4824, allocations: 8 kB / 0.7673 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.4824, allocations: 8 kB / 0.7674 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2716/0.754, allocations: 5.347 MB / 0.7726 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.7566, allocations: 483.5 kB / 0.773 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06225/0.8189, allocations: 23.51 MB / 0.796 GB, free: 99.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/0.8228, allocations: 435.8 kB / 0.7964 GB, free: 99.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/0.8233, allocations: 103 kB / 0.7965 GB, free: 99.64 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 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 order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004702/0.828, allocations: 2.172 MB / 0.7986 GB, free: 98.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003967/0.832, allocations: 2.197 MB / 0.8008 GB, free: 97.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05369/0.8857, allocations: 13.6 MB / 0.8141 GB, free: 90.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.418e-06/0.8857, allocations: 4 kB / 0.8141 GB, free: 90.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=373) (initialization_lambda0): time 0.03806/0.9238, allocations: 12.09 MB / 0.8259 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.9238, allocations: 12.61 kB / 0.8259 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.9239, allocations: 11.84 kB / 0.8259 GB, free: 78.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01701/0.9409, allocations: 5.349 MB / 0.8311 GB, free: 73.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.9432, allocations: 478.1 kB / 0.8316 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0558/0.999, allocations: 23.5 MB / 0.8545 GB, free: 49.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.003, allocations: 402.2 kB / 0.8549 GB, free: 48.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/1.003, allocations: 108 kB / 0.855 GB, free: 48.79 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 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 order3_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 (285): * Single equations (assignments): 284 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006804/1.004, allocations: 333.6 kB / 0.8553 GB, free: 48.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/1.004, allocations: 268.6 kB / 0.8556 GB, free: 48.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03708/1.042, allocations: 11.44 MB / 0.8668 GB, free: 36.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.042, allocations: 7.969 kB / 0.8668 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.042, allocations: 3.984 kB / 0.8668 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/1.042, allocations: 369.2 kB / 0.8671 GB, free: 36.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006653/1.043, allocations: 43.94 kB / 0.8672 GB, free: 36.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/1.046, allocations: 255.7 kB / 0.8674 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003812/1.05, allocations: 1.367 MB / 0.8687 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01457/1.064, allocations: 5.166 MB / 0.8738 GB, free: 29.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01054/1.075, allocations: 5.374 MB / 0.879 GB, free: 24.14 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003166/1.078, allocations: 1.507 MB / 0.8805 GB, free: 22.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001491/1.079, allocations: 1.3 MB / 0.8818 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of Backend: time 4.31e-07/1.079, allocations: 0 / 0.8818 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02893/1.108, allocations: 9.324 MB / 0.8909 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006689/1.115, allocations: 5.62 MB / 0.8964 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of Templates: time 0.1212/1.236, allocations: 86.32 MB / 0.9807 GB, free: 32 kB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)