Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09841/0.09841, allocations: 12.6 MB / 28.91 MB, free: 0.5977 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001311, allocations: 107.5 kB / 32.51 MB, free: 3.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 241.1 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 195.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5048/0.5048, allocations: 78.51 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003284/0.003284, allocations: 139.4 kB / 0.5566 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.147, allocations: 68.13 MB / 0.6231 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI): time 0.01298/0.16, allocations: 13.53 MB / 0.6363 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008866/0.1689, allocations: 3.45 MB / 0.6397 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.1723, allocations: 35.94 kB / 0.6397 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.1745, allocations: 0.5616 MB / 0.6403 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.181, allocations: 1.548 MB / 0.6418 GB, free: 12.16 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.005805/0.1868, allocations: 1.547 MB / 0.6433 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009377/0.1962, allocations: 3.655 MB / 0.6469 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.1985, allocations: 0.8227 MB / 0.6477 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.2018, allocations: 1.497 MB / 0.6491 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.2056, allocations: 1.941 MB / 0.651 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.2071, allocations: 280 kB / 0.6513 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.2091, allocations: 419.9 kB / 0.6517 GB, free: 1.961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.2105, allocations: 0.7624 MB / 0.6525 GB, free: 1.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.2139, allocations: 1.612 MB / 0.654 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.2208, allocations: 3.959 MB / 0.6579 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2208, allocations: 0 / 0.6579 GB, free: 11.6 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2208, allocations: 0 / 0.6579 GB, free: 11.6 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.598e-05/0.2209, allocations: 4 kB / 0.6579 GB, free: 11.59 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.02573/0.2467, allocations: 6.642 MB / 0.6644 GB, free: 4.852 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.2468, allocations: 19.92 kB / 0.6644 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/0.2626, allocations: 2.288 MB / 0.6666 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/0.2681, allocations: 1.892 MB / 0.6685 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009316/0.2691, allocations: 0.6711 MB / 0.6691 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.2703, allocations: 219.9 kB / 0.6693 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009307/0.2796, allocations: 3.036 MB / 0.6723 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.2797, allocations: 11.98 kB / 0.6723 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006329/0.2804, allocations: 83.94 kB / 0.6724 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.2805, allocations: 48 kB / 0.6725 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007844/0.2883, allocations: 2.811 MB / 0.6752 GB, free: 9.504 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.02464/0.313, allocations: 9.896 MB / 0.6849 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.3241, allocations: 4.089 MB / 0.6889 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/0.329, allocations: 1.983 MB / 0.6908 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/0.3295, allocations: 49.95 kB / 0.6908 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.975e-05/0.3296, allocations: 60.5 kB / 0.6909 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.421e-06/0.3296, allocations: 0 / 0.6909 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242): time 0.4964/0.826, allocations: 29.47 MB / 0.7197 GB, free: 81.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.8262, allocations: 232.6 kB / 0.7199 GB, free: 80.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/0.832, allocations: 2.267 MB / 0.7221 GB, free: 80.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009013/0.833, allocations: 69.73 kB / 0.7222 GB, free: 80.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009191/0.8339, allocations: 1.177 MB / 0.7233 GB, free: 80.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.8349, allocations: 0.8958 MB / 0.7242 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.8361, allocations: 0.5384 MB / 0.7247 GB, free: 79.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.8361, allocations: 305.1 kB / 0.725 GB, free: 79.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004491/0.8406, allocations: 1.949 MB / 0.7269 GB, free: 78.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.8452, allocations: 2.315 MB / 0.7292 GB, free: 77.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05251/0.8977, allocations: 13.98 MB / 0.7428 GB, free: 72.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/0.8978, allocations: 3.844 kB / 0.7428 GB, free: 72.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.03682/0.9346, allocations: 12.47 MB / 0.755 GB, free: 64.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.805e-05/0.9348, allocations: 118.8 kB / 0.7551 GB, free: 64.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.9348, allocations: 4 kB / 0.7551 GB, free: 64.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/0.9507, allocations: 5.281 MB / 0.7603 GB, free: 59.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.9537, allocations: 0.5266 MB / 0.7608 GB, free: 58.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05181/1.005, allocations: 23.21 MB / 0.7835 GB, free: 35.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/1.01, allocations: 481.9 kB / 0.7839 GB, free: 34.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/1.011, allocations: 108 kB / 0.784 GB, free: 34.87 MB / 0.5137 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.004851/1.016, allocations: 2.29 MB / 0.7863 GB, free: 32.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003921/1.02, allocations: 2.292 MB / 0.7885 GB, free: 30.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04967/1.069, allocations: 13.91 MB / 0.8021 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.977e-05/1.069, allocations: 0 / 0.8021 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.03839/1.108, allocations: 12.42 MB / 0.8142 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.108, allocations: 114.8 kB / 0.8143 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.108, allocations: 10.52 kB / 0.8143 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/1.124, allocations: 5.28 MB / 0.8195 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.127, allocations: 0.5227 MB / 0.82 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06454/1.192, allocations: 23.21 MB / 0.8427 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/1.197, allocations: 444.6 kB / 0.8431 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007957/1.197, allocations: 108 kB / 0.8432 GB, free: 5.723 MB / 0.545 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.001497/1.199, allocations: 407.6 kB / 0.8436 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.2, allocations: 310 kB / 0.8439 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03923/1.239, allocations: 11.68 MB / 0.8553 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.989e-05/1.24, allocations: 11.95 kB / 0.8553 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.24, allocations: 1.312 kB / 0.8553 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.241, allocations: 418.4 kB / 0.8557 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.242, allocations: 51.94 kB / 0.8557 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003659/1.246, allocations: 291.6 kB / 0.856 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004692/1.25, allocations: 1.379 MB / 0.8574 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01879/1.269, allocations: 5.692 MB / 0.8629 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01438/1.283, allocations: 5.923 MB / 0.8687 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003968/1.287, allocations: 1.624 MB / 0.8703 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003459/1.291, allocations: 1.499 MB / 0.8718 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of Backend: time 1.012e-06/1.291, allocations: 0 / 0.8718 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03269/1.324, allocations: 9.822 MB / 0.8814 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01138/1.335, allocations: 6.343 MB / 0.8875 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of Templates: time 0.1487/1.484, allocations: 86.39 MB / 0.9719 GB, free: 1.648 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)