Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001436/0.001436, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.377/1.377, allocations: 222.9 MB / 240.1 MB, free: 4.371 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.001412/0.001412, allocations: 200.4 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4504/0.4504, allocations: 78.53 MB / 419.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 71.88 kB / 0.5543 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3505, allocations: 68.18 MB / 0.6209 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.009428/0.3599, allocations: 12.79 MB / 0.6334 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008837/0.3688, allocations: 3.265 MB / 0.6366 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.3722, allocations: 24 kB / 0.6366 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.374, allocations: 0.5072 MB / 0.6371 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006055/0.3801, allocations: 1.474 MB / 0.6386 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.3837, allocations: 1.45 MB / 0.64 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004722/0.3884, allocations: 3.285 MB / 0.6432 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.3896, allocations: 0.7509 MB / 0.6439 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.3916, allocations: 1.365 MB / 0.6453 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.3936, allocations: 1.797 MB / 0.647 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005038/0.3941, allocations: 252 kB / 0.6473 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.3949, allocations: 391.9 kB / 0.6476 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.3955, allocations: 0.6845 MB / 0.6483 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.3968, allocations: 1.491 MB / 0.6498 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.4005, allocations: 3.609 MB / 0.6533 GB, free: 8.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4005, allocations: 0 / 0.6533 GB, free: 8.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4005, allocations: 0 / 0.6533 GB, free: 8.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.514e-05/0.4006, allocations: 0 / 0.6533 GB, free: 8.902 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02217/0.4228, allocations: 6.095 MB / 0.6592 GB, free: 2.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4228, allocations: 8.031 kB / 0.6592 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/0.4383, allocations: 2.248 MB / 0.6614 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.442, allocations: 1.653 MB / 0.663 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007126/0.4427, allocations: 0.6513 MB / 0.6637 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006536/0.4434, allocations: 207.9 kB / 0.6639 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006652/0.4501, allocations: 2.89 MB / 0.6667 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.4501, allocations: 0 / 0.6667 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.4504, allocations: 83.88 kB / 0.6668 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.4505, allocations: 44 kB / 0.6668 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006373/0.4568, allocations: 2.666 MB / 0.6694 GB, free: 8.098 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.02132/0.4782, allocations: 9.481 MB / 0.6787 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.4892, allocations: 4.023 MB / 0.6826 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004102/0.4933, allocations: 1.885 MB / 0.6845 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.4936, allocations: 41.95 kB / 0.6845 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.4936, allocations: 60.5 kB / 0.6846 GB, free: 8.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 4.498e-06/0.4937, allocations: 0 / 0.6846 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.1191/0.6127, allocations: 27.31 MB / 0.7112 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.6129, allocations: 128.8 kB / 0.7113 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.6157, allocations: 1.992 MB / 0.7133 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006011/0.6163, allocations: 65.7 kB / 0.7134 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009523/0.6173, allocations: 1.085 MB / 0.7144 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.6185, allocations: 0.7971 MB / 0.7152 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.6195, allocations: 0.4944 MB / 0.7157 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.6196, allocations: 301.1 kB / 0.716 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/0.624, allocations: 1.877 MB / 0.7178 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.6288, allocations: 2.218 MB / 0.72 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05763/0.6865, allocations: 13.67 MB / 0.7333 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.6866, allocations: 0 / 0.7333 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04238/0.7289, allocations: 12.13 MB / 0.7452 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.729, allocations: 8 kB / 0.7452 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.729, allocations: 12 kB / 0.7452 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01928/0.7483, allocations: 5.344 MB / 0.7504 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.7509, allocations: 483.3 kB / 0.7509 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3181/1.069, allocations: 23.52 MB / 0.7738 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/1.073, allocations: 433.6 kB / 0.7742 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005203/1.074, allocations: 104.3 kB / 0.7743 GB, free: 122.8 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.005387/1.079, allocations: 2.164 MB / 0.7765 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004493/1.084, allocations: 2.198 MB / 0.7786 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05534/1.139, allocations: 13.6 MB / 0.7919 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.245e-05/1.139, allocations: 7.719 kB / 0.7919 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=373) (initialization_lambda0): time 0.03891/1.178, allocations: 12.09 MB / 0.8037 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.178, allocations: 8.938 kB / 0.8037 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.178, allocations: 8 kB / 0.8037 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01759/1.196, allocations: 5.34 MB / 0.8089 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/1.198, allocations: 477.4 kB / 0.8094 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05672/1.255, allocations: 23.52 MB / 0.8324 GB, free: 86.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/1.259, allocations: 396 kB / 0.8327 GB, free: 86.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/1.259, allocations: 108 kB / 0.8328 GB, free: 86.49 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.0007364/1.26, allocations: 328.7 kB / 0.8331 GB, free: 86.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/1.26, allocations: 276.6 kB / 0.8334 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03691/1.297, allocations: 11.44 MB / 0.8446 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-05/1.297, allocations: 7.969 kB / 0.8446 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.297, allocations: 0 / 0.8446 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/1.298, allocations: 378 kB / 0.845 GB, free: 74.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007867/1.299, allocations: 43.94 kB / 0.845 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/1.302, allocations: 251.7 kB / 0.8452 GB, free: 73.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003815/1.306, allocations: 1.371 MB / 0.8466 GB, free: 72.36 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01527/1.321, allocations: 5.171 MB / 0.8516 GB, free: 67.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01145/1.332, allocations: 5.374 MB / 0.8569 GB, free: 61.84 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003425/1.336, allocations: 1.504 MB / 0.8583 GB, free: 60.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001769/1.338, allocations: 1.294 MB / 0.8596 GB, free: 59.03 MB / 0.5606 GB Notification: Performance of Backend: time 1.143e-06/1.338, allocations: 0 / 0.8596 GB, free: 59.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02833/1.366, allocations: 9.317 MB / 0.8687 GB, free: 49.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007001/1.373, allocations: 5.635 MB / 0.8742 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.1157/1.489, allocations: 86.31 MB / 0.9585 GB, free: 5.746 MB / 0.6075 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)