Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09809/0.09809, allocations: 12.6 MB / 28.91 MB, free: 0.6406 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.001824/0.001824, allocations: 111.5 kB / 32.51 MB, free: 3.578 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.448/1.448, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001552/0.001552, allocations: 191.5 kB / 291.4 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4818/0.4818, allocations: 78.5 MB / 420 MB, free: 10.75 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.002658/0.002658, allocations: 138.6 kB / 0.5566 GB, free: 17.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1484, allocations: 68.12 MB / 0.6231 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII): time 0.0133/0.1618, allocations: 12.94 MB / 0.6358 GB, free: 88 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.1699, allocations: 3.227 MB / 0.6389 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.1727, allocations: 24 kB / 0.6389 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1742, allocations: 0.5072 MB / 0.6394 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005448/0.1797, allocations: 1.473 MB / 0.6409 GB, free: 10.84 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.003807/0.1835, allocations: 1.452 MB / 0.6423 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005217/0.1887, allocations: 3.297 MB / 0.6455 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.1902, allocations: 0.7548 MB / 0.6462 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.1926, allocations: 1.365 MB / 0.6476 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.1954, allocations: 1.797 MB / 0.6493 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.1964, allocations: 252 kB / 0.6496 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.1982, allocations: 395.9 kB / 0.65 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007081/0.1989, allocations: 0.6728 MB / 0.6506 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.2006, allocations: 1.499 MB / 0.6521 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.2048, allocations: 3.608 MB / 0.6556 GB, free: 11.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.2049, allocations: 4 kB / 0.6556 GB, free: 11.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.2049, allocations: 4 kB / 0.6556 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.568e-05/0.205, allocations: 0 / 0.6556 GB, free: 11.68 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.02352/0.2285, allocations: 6.103 MB / 0.6616 GB, free: 5.512 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.2286, allocations: 11.98 kB / 0.6616 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.2443, allocations: 2.244 MB / 0.6638 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.248, allocations: 1.657 MB / 0.6654 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006792/0.2487, allocations: 0.6591 MB / 0.666 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004741/0.2492, allocations: 200 kB / 0.6662 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006361/0.2555, allocations: 2.894 MB / 0.669 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.2556, allocations: 8 kB / 0.6691 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.2559, allocations: 75.94 kB / 0.6691 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.2559, allocations: 52 kB / 0.6692 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006009/0.2619, allocations: 2.662 MB / 0.6718 GB, free: 10.85 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.01981/0.2817, allocations: 9.489 MB / 0.681 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3314/0.6132, allocations: 4.028 MB / 0.685 GB, free: 49.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005028/0.6182, allocations: 1.879 MB / 0.6868 GB, free: 49.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.6187, allocations: 37 kB / 0.6868 GB, free: 49.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.6188, allocations: 65.61 kB / 0.6869 GB, free: 49.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=228): time 7.294e-06/0.6188, allocations: 0 / 0.6869 GB, free: 49.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=228): time 0.1307/0.7495, allocations: 28.83 MB / 0.7151 GB, free: 39.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.7496, allocations: 136 kB / 0.7152 GB, free: 39.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.7522, allocations: 1.986 MB / 0.7171 GB, free: 37.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005818/0.7528, allocations: 65.7 kB / 0.7172 GB, free: 37.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005564/0.7533, allocations: 1.071 MB / 0.7182 GB, free: 37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/0.7543, allocations: 0.8049 MB / 0.719 GB, free: 36.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008992/0.7552, allocations: 0.4984 MB / 0.7195 GB, free: 35.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.7552, allocations: 307.2 kB / 0.7198 GB, free: 35.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/0.7591, allocations: 1.881 MB / 0.7216 GB, free: 33.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/0.7632, allocations: 2.226 MB / 0.7238 GB, free: 31.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.054/0.8172, allocations: 13.7 MB / 0.7372 GB, free: 17.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.8173, allocations: 0 / 0.7372 GB, free: 17.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.03905/0.8563, allocations: 12.15 MB / 0.7491 GB, free: 5.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.8564, allocations: 8 kB / 0.7491 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.8565, allocations: 4 kB / 0.7491 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/0.8738, allocations: 5.205 MB / 0.7542 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.8765, allocations: 487.3 kB / 0.7546 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06755/0.9441, allocations: 23.18 MB / 0.7773 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/0.9485, allocations: 437.2 kB / 0.7777 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/0.9493, allocations: 104 kB / 0.7778 GB, free: 7.598 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.006722/0.9561, allocations: 2.176 MB / 0.7799 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005203/0.9613, allocations: 2.204 MB / 0.7821 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06103/1.022, allocations: 13.63 MB / 0.7954 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.12e-05/1.022, allocations: 4 kB / 0.7954 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.04804/1.071, allocations: 12.11 MB / 0.8072 GB, free: 9.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.071, allocations: 12 kB / 0.8072 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.071, allocations: 4 kB / 0.8072 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0193/1.09, allocations: 5.217 MB / 0.8123 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/1.093, allocations: 480.2 kB / 0.8128 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06758/1.16, allocations: 23.17 MB / 0.8354 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/1.164, allocations: 401.7 kB / 0.8358 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006565/1.165, allocations: 108 kB / 0.8359 GB, free: 11.67 MB / 0.5762 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 (290): * Single equations (assignments): 289 * 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 {(62,26,8.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00131/1.166, allocations: 347.9 kB / 0.8362 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.167, allocations: 268.6 kB / 0.8365 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04204/1.21, allocations: 11.44 MB / 0.8476 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.51e-05/1.21, allocations: 15.94 kB / 0.8477 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.21, allocations: 0 / 0.8477 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/1.211, allocations: 369.2 kB / 0.848 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009822/1.212, allocations: 43.98 kB / 0.848 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/1.215, allocations: 255.7 kB / 0.8483 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004507/1.22, allocations: 1.371 MB / 0.8496 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01827/1.238, allocations: 5.166 MB / 0.8547 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01391/1.252, allocations: 5.382 MB / 0.8599 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003957/1.256, allocations: 1.503 MB / 0.8614 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002221/1.258, allocations: 1.291 MB / 0.8627 GB, free: 200 kB / 0.5919 GB Notification: Performance of Backend: time 5.51e-07/1.258, allocations: 0 / 0.8627 GB, free: 200 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0335/1.292, allocations: 9.152 MB / 0.8716 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of SimCode: time 0.009668/1.301, allocations: 5.697 MB / 0.8772 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.4395/1.741, allocations: 82.42 MB / 0.9576 GB, free: 226 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)