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.001404/0.001404, allocations: 115.4 kB / 16.42 MB, free: 6.5 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.414/1.414, allocations: 222.9 MB / 240.1 MB, free: 4.285 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.001411/0.001411, allocations: 200.2 kB / 290.4 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5279/0.5279, allocations: 91.9 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 74.84 kB / 0.5735 GB, free: 33.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1392, allocations: 71.28 MB / 0.6431 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.01234/0.1516, allocations: 12.84 MB / 0.6556 GB, free: 6.637 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007478/0.1592, allocations: 3.262 MB / 0.6588 GB, free: 3.363 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1616, allocations: 24 kB / 0.6588 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.1635, allocations: 0.5111 MB / 0.6593 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.1688, allocations: 1.466 MB / 0.6607 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.1728, allocations: 1.454 MB / 0.6622 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005136/0.178, allocations: 3.285 MB / 0.6654 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.1795, allocations: 0.747 MB / 0.6661 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.1817, allocations: 1.361 MB / 0.6674 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.1843, allocations: 1.797 MB / 0.6692 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009572/0.1853, allocations: 248 kB / 0.6694 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1868, allocations: 395.9 kB / 0.6698 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009964/0.1878, allocations: 0.6884 MB / 0.6705 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.19, allocations: 1.495 MB / 0.6719 GB, free: 5.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.1951, allocations: 3.621 MB / 0.6755 GB, free: 2.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1951, allocations: 0 / 0.6755 GB, free: 2.207 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1951, allocations: 0 / 0.6755 GB, free: 2.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001336/0.1953, allocations: 0 / 0.6755 GB, free: 2.207 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.02245/0.2177, allocations: 6.202 MB / 0.6815 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2178, allocations: 12.03 kB / 0.6815 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/0.2331, allocations: 2.257 MB / 0.6837 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.2368, allocations: 1.667 MB / 0.6854 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/0.2375, allocations: 0.6552 MB / 0.686 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007989/0.2384, allocations: 204 kB / 0.6862 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007292/0.2457, allocations: 2.89 MB / 0.689 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.2457, allocations: 0 / 0.689 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/0.2461, allocations: 79.94 kB / 0.6891 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.2462, allocations: 48 kB / 0.6892 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006145/0.2523, allocations: 2.662 MB / 0.6918 GB, free: 1.273 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.01894/0.2713, allocations: 9.51 MB / 0.701 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.2822, allocations: 4.027 MB / 0.705 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004287/0.2866, allocations: 1.877 MB / 0.7068 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004406/0.287, allocations: 41.97 kB / 0.7068 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.2871, allocations: 56.56 kB / 0.7069 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=227): time 4.769e-06/0.2871, allocations: 0 / 0.7069 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.1161/0.4033, allocations: 27.34 MB / 0.7336 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.4034, allocations: 124.8 kB / 0.7337 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.4064, allocations: 1.992 MB / 0.7357 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006264/0.4071, allocations: 65.7 kB / 0.7357 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008646/0.408, allocations: 1.098 MB / 0.7368 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.4091, allocations: 0.8366 MB / 0.7376 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.4106, allocations: 0.4945 MB / 0.7381 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.4107, allocations: 301.1 kB / 0.7384 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/0.415, allocations: 1.873 MB / 0.7402 GB, free: 14.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/0.4195, allocations: 2.222 MB / 0.7424 GB, free: 12.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05639/0.4759, allocations: 13.67 MB / 0.7557 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.4759, allocations: 7.938 kB / 0.7557 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04025/0.5162, allocations: 12.14 MB / 0.7676 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.5162, allocations: 8 kB / 0.7676 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5163, allocations: 8 kB / 0.7676 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3185/0.8348, allocations: 5.346 MB / 0.7728 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.8373, allocations: 481.1 kB / 0.7733 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05801/0.8954, allocations: 23.56 MB / 0.7963 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/0.8989, allocations: 437.9 kB / 0.7967 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.8992, allocations: 108.1 kB / 0.7968 GB, free: 100.4 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.004254/0.9035, allocations: 2.163 MB / 0.7989 GB, free: 99.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003778/0.9073, allocations: 2.196 MB / 0.8011 GB, free: 98.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05166/0.9589, allocations: 13.6 MB / 0.8144 GB, free: 90.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-05/0.959, allocations: 0 / 0.8144 GB, free: 90.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=373) (initialization_lambda0): time 0.03578/0.9948, allocations: 12.1 MB / 0.8262 GB, free: 79.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9948, allocations: 8 kB / 0.8262 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.9948, allocations: 8 kB / 0.8262 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/1.011, allocations: 5.353 MB / 0.8314 GB, free: 73.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/1.013, allocations: 471.3 kB / 0.8319 GB, free: 73.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0529/1.066, allocations: 23.54 MB / 0.8549 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/1.07, allocations: 413 kB / 0.8553 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/1.07, allocations: 104 kB / 0.8553 GB, free: 49.29 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.0006342/1.071, allocations: 337.5 kB / 0.8557 GB, free: 48.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/1.071, allocations: 282.2 kB / 0.8559 GB, free: 48.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03437/1.106, allocations: 11.44 MB / 0.8671 GB, free: 37.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/1.106, allocations: 11.95 kB / 0.8671 GB, free: 37.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/1.106, allocations: 3.938 kB / 0.8671 GB, free: 37.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008452/1.107, allocations: 382.7 kB / 0.8675 GB, free: 36.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/1.107, allocations: 43.94 kB / 0.8675 GB, free: 36.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/1.11, allocations: 256.6 kB / 0.8678 GB, free: 36.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003826/1.114, allocations: 1.375 MB / 0.8691 GB, free: 35.12 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0136/1.127, allocations: 5.164 MB / 0.8742 GB, free: 30 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009968/1.137, allocations: 5.391 MB / 0.8794 GB, free: 24.59 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002936/1.14, allocations: 1.507 MB / 0.8809 GB, free: 23.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001455/1.142, allocations: 1.29 MB / 0.8822 GB, free: 21.79 MB / 0.5606 GB Notification: Performance of Backend: time 6.81e-07/1.142, allocations: 1.75 kB / 0.8822 GB, free: 21.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02517/1.167, allocations: 9.355 MB / 0.8913 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005922/1.173, allocations: 5.745 MB / 0.8969 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of Templates: time 0.1446/1.317, allocations: 86.34 MB / 0.9812 GB, free: 304 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)