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.00123/0.00123, allocations: 112.1 kB / 16.42 MB, free: 6.016 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.375/1.375, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001442/0.001443, allocations: 192.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.52/0.52, allocations: 91.9 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 83.22 kB / 0.5735 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 71.29 MB / 0.6431 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI): time 0.01174/0.1297, allocations: 13.49 MB / 0.6563 GB, free: 5.973 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.1369, allocations: 3.503 MB / 0.6597 GB, free: 2.453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.1388, allocations: 24 kB / 0.6597 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.1401, allocations: 0.5654 MB / 0.6603 GB, free: 1.859 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.1441, allocations: 1.551 MB / 0.6618 GB, free: 312 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.1474, allocations: 1.557 MB / 0.6633 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004207/0.1517, allocations: 3.651 MB / 0.6669 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.1527, allocations: 0.8305 MB / 0.6677 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.1545, allocations: 1.49 MB / 0.6691 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.1564, allocations: 1.937 MB / 0.671 GB, free: 6.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.1568, allocations: 276 kB / 0.6713 GB, free: 6.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.1576, allocations: 415.9 kB / 0.6717 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005974/0.1583, allocations: 0.7702 MB / 0.6724 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.1596, allocations: 1.615 MB / 0.674 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003808/0.1634, allocations: 3.948 MB / 0.6779 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1634, allocations: 0 / 0.6779 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.1634, allocations: 4 kB / 0.6779 GB, free: 15.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.479e-05/0.1635, allocations: 0 / 0.6779 GB, free: 15.75 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.0228/0.1863, allocations: 6.634 MB / 0.6843 GB, free: 9.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1864, allocations: 8.031 kB / 0.6843 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.2016, allocations: 2.292 MB / 0.6866 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.206, allocations: 1.9 MB / 0.6884 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007144/0.2068, allocations: 0.6633 MB / 0.6891 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008138/0.2076, allocations: 212 kB / 0.6893 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007521/0.2151, allocations: 3.044 MB / 0.6923 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.669e-05/0.2152, allocations: 3.953 kB / 0.6923 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.2156, allocations: 87.94 kB / 0.6923 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.2157, allocations: 51.94 kB / 0.6924 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006476/0.2221, allocations: 2.811 MB / 0.6951 GB, free: 13.68 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.01963/0.2418, allocations: 9.919 MB / 0.7048 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.2526, allocations: 4.092 MB / 0.7088 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004225/0.2568, allocations: 1.979 MB / 0.7108 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.2572, allocations: 43.12 kB / 0.7108 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.2573, allocations: 60.56 kB / 0.7109 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.949e-06/0.2573, allocations: 4 kB / 0.7109 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242): time 0.1246/0.3819, allocations: 29.46 MB / 0.7396 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.3821, allocations: 235.6 kB / 0.7399 GB, free: 15.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.3863, allocations: 2.261 MB / 0.7421 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007338/0.3871, allocations: 73.7 kB / 0.7421 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.3882, allocations: 1.174 MB / 0.7433 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.3896, allocations: 0.8985 MB / 0.7442 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/0.3919, allocations: 0.538 MB / 0.7447 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.392, allocations: 305.1 kB / 0.745 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004772/0.3968, allocations: 1.948 MB / 0.7469 GB, free: 7.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00529/0.4021, allocations: 2.314 MB / 0.7491 GB, free: 5.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05578/0.4579, allocations: 13.97 MB / 0.7628 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.4579, allocations: 4 kB / 0.7628 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.3329/0.7908, allocations: 12.46 MB / 0.7749 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.7909, allocations: 115.3 kB / 0.7751 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7909, allocations: 5.25 kB / 0.7751 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/0.8086, allocations: 5.282 MB / 0.7802 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/0.8115, allocations: 0.5335 MB / 0.7807 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05109/0.8626, allocations: 23.22 MB / 0.8034 GB, free: 99.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004161/0.8668, allocations: 476.3 kB / 0.8039 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.8671, allocations: 110.8 kB / 0.804 GB, free: 99.25 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.004589/0.8717, allocations: 2.274 MB / 0.8062 GB, free: 98.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003844/0.8756, allocations: 2.286 MB / 0.8084 GB, free: 95.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04667/0.9223, allocations: 13.91 MB / 0.822 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/0.9223, allocations: 0 / 0.822 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.03415/0.9565, allocations: 12.41 MB / 0.8341 GB, free: 69.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.9566, allocations: 115.4 kB / 0.8342 GB, free: 68.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.9566, allocations: 15.94 kB / 0.8343 GB, free: 68.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/0.9715, allocations: 5.27 MB / 0.8394 GB, free: 63.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.974, allocations: 0.5227 MB / 0.8399 GB, free: 63.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04801/1.022, allocations: 23.21 MB / 0.8626 GB, free: 39.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/1.026, allocations: 445.3 kB / 0.863 GB, free: 39.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003002/1.026, allocations: 108 kB / 0.8631 GB, free: 39.23 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.0006608/1.027, allocations: 403.2 kB / 0.8635 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/1.027, allocations: 306 kB / 0.8638 GB, free: 38.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03369/1.061, allocations: 11.68 MB / 0.8752 GB, free: 26.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/1.061, allocations: 11.95 kB / 0.8752 GB, free: 26.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.061, allocations: 0 / 0.8752 GB, free: 26.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/1.062, allocations: 423 kB / 0.8756 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006124/1.062, allocations: 50.14 kB / 0.8757 GB, free: 26.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.065, allocations: 286.7 kB / 0.8759 GB, free: 26.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003748/1.069, allocations: 1.383 MB / 0.8773 GB, free: 24.67 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01377/1.083, allocations: 5.697 MB / 0.8828 GB, free: 18.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01044/1.093, allocations: 5.923 MB / 0.8886 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003127/1.096, allocations: 1.616 MB / 0.8902 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00199/1.098, allocations: 1.491 MB / 0.8917 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of Backend: time 5.21e-07/1.098, allocations: 0 / 0.8917 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0265/1.125, allocations: 9.82 MB / 0.9013 GB, free: 0 / 0.5606 GB Notification: Performance of SimCode: time 0.01027/1.135, allocations: 6.346 MB / 0.9075 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of Templates: time 0.1263/1.261, allocations: 86.38 MB / 0.9918 GB, free: 3.277 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)