Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 109.1 kB / 16.42 MB, free: 6.508 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.331/1.331, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001309/0.001309, allocations: 200.4 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4403/0.4403, allocations: 78.53 MB / 419.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 79.88 kB / 0.5544 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2801, allocations: 68.16 MB / 0.6209 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.009095/0.2893, allocations: 12.99 MB / 0.6336 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.2954, allocations: 3.301 MB / 0.6368 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.2966, allocations: 28 kB / 0.6369 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009068/0.2975, allocations: 0.5033 MB / 0.6374 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.3007, allocations: 1.494 MB / 0.6388 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3036, allocations: 1.452 MB / 0.6402 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.3068, allocations: 3.355 MB / 0.6435 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009008/0.3077, allocations: 0.751 MB / 0.6442 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.3092, allocations: 1.388 MB / 0.6456 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.311, allocations: 1.824 MB / 0.6474 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003871/0.3114, allocations: 256 kB / 0.6476 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/0.3121, allocations: 411.8 kB / 0.648 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.3126, allocations: 0.6845 MB / 0.6487 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.3138, allocations: 1.518 MB / 0.6502 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.3171, allocations: 3.661 MB / 0.6537 GB, free: 8.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3171, allocations: 0 / 0.6537 GB, free: 8.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3172, allocations: 7.984 kB / 0.6537 GB, free: 8.508 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.321e-05/0.3172, allocations: 0 / 0.6537 GB, free: 8.508 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.02099/0.3382, allocations: 6.26 MB / 0.6599 GB, free: 2.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3383, allocations: 8.031 kB / 0.6599 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.3531, allocations: 2.269 MB / 0.6621 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.3562, allocations: 1.698 MB / 0.6637 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006134/0.3568, allocations: 0.6552 MB / 0.6644 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005641/0.3574, allocations: 204 kB / 0.6646 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005626/0.363, allocations: 2.91 MB / 0.6674 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.3631, allocations: 0 / 0.6674 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.3633, allocations: 79.94 kB / 0.6675 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.3633, allocations: 44 kB / 0.6675 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005438/0.3688, allocations: 2.674 MB / 0.6701 GB, free: 7.449 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.01627/0.3851, allocations: 9.577 MB / 0.6795 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.3954, allocations: 4.044 MB / 0.6835 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/0.3993, allocations: 1.896 MB / 0.6853 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.3996, allocations: 37.95 kB / 0.6853 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3996, allocations: 60.55 kB / 0.6854 GB, free: 7.285 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 4.098e-06/0.3996, allocations: 0 / 0.6854 GB, free: 7.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=229): time 0.1062/0.5058, allocations: 25.55 MB / 0.7103 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.506, allocations: 136.8 kB / 0.7105 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.5092, allocations: 2.017 MB / 0.7124 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006122/0.5098, allocations: 73.7 kB / 0.7125 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008466/0.5107, allocations: 1.098 MB / 0.7136 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.5118, allocations: 0.8481 MB / 0.7144 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/0.5136, allocations: 0.5025 MB / 0.7149 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.5137, allocations: 309.1 kB / 0.7152 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004408/0.5181, allocations: 1.896 MB / 0.7171 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/0.5227, allocations: 2.246 MB / 0.7192 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0582/0.5809, allocations: 13.9 MB / 0.7328 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.581, allocations: 4 kB / 0.7328 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.04078/0.6218, allocations: 12.21 MB / 0.7447 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.6219, allocations: 11.94 kB / 0.7448 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.6219, allocations: 8 kB / 0.7448 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/0.6399, allocations: 5.257 MB / 0.7499 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.6429, allocations: 0.4915 MB / 0.7504 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3007/0.9435, allocations: 23.2 MB / 0.773 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/0.9476, allocations: 444.9 kB / 0.7735 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/0.948, allocations: 106.2 kB / 0.7736 GB, free: 124.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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005072/0.9531, allocations: 2.185 MB / 0.7757 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004111/0.9572, allocations: 2.226 MB / 0.7779 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0541/1.011, allocations: 13.84 MB / 0.7914 GB, free: 120 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.657e-05/1.011, allocations: 3.969 kB / 0.7914 GB, free: 120 MB / 0.5606 GB Notification: Performance of matching and sorting (n=381) (initialization_lambda0): time 0.03723/1.049, allocations: 12.16 MB / 0.8033 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.049, allocations: 8 kB / 0.8033 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.049, allocations: 8 kB / 0.8033 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/1.064, allocations: 5.247 MB / 0.8084 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/1.067, allocations: 0.4896 MB / 0.8089 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05115/1.118, allocations: 23.19 MB / 0.8315 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/1.122, allocations: 412.2 kB / 0.8319 GB, free: 87.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/1.122, allocations: 108 kB / 0.832 GB, free: 87.4 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 (294): * Single equations (assignments): 293 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006814/1.123, allocations: 331 kB / 0.8324 GB, free: 87.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/1.123, allocations: 294.1 kB / 0.8326 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03437/1.157, allocations: 11.47 MB / 0.8438 GB, free: 75.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.897e-05/1.157, allocations: 11.95 kB / 0.8438 GB, free: 75.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.157, allocations: 4 kB / 0.8438 GB, free: 75.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/1.158, allocations: 395.7 kB / 0.8442 GB, free: 74.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/1.159, allocations: 40 kB / 0.8443 GB, free: 74.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/1.161, allocations: 251.7 kB / 0.8445 GB, free: 74.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003746/1.165, allocations: 1.375 MB / 0.8458 GB, free: 73.24 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01443/1.18, allocations: 5.228 MB / 0.8509 GB, free: 68.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01022/1.19, allocations: 5.454 MB / 0.8563 GB, free: 62.59 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003067/1.193, allocations: 1.515 MB / 0.8578 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001464/1.194, allocations: 1.314 MB / 0.859 GB, free: 59.75 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/1.194, allocations: 0 / 0.859 GB, free: 59.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02499/1.219, allocations: 9.248 MB / 0.8681 GB, free: 50.49 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006452/1.226, allocations: 5.883 MB / 0.8738 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.1098/1.336, allocations: 83.32 MB / 0.9552 GB, free: 9.289 MB / 0.6075 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)