Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000838/0.0008381, allocations: 175.2 kB / 16.08 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 239.7 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007482/0.0007483, allocations: 96.05 kB / 290.5 MB, free: 11.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4103/0.4103, allocations: 78.42 MB / 419.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003544, allocations: 12.28 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2572, allocations: 68.75 MB / 0.5545 GB, free: 20.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI): time 0.008545/0.2658, allocations: 14.27 MB / 0.5685 GB, free: 5.938 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005753/0.2716, allocations: 3.628 MB / 0.572 GB, free: 2.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.2731, allocations: 35.94 kB / 0.572 GB, free: 2.266 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009477/0.2741, allocations: 437.2 kB / 0.5724 GB, free: 1.836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.2768, allocations: 1.225 MB / 0.5736 GB, free: 0.6094 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.002769/0.2796, allocations: 1.444 MB / 0.5751 GB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003359/0.283, allocations: 3.456 MB / 0.5784 GB, free: 11.72 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009052/0.2839, allocations: 0.7216 MB / 0.5791 GB, free: 10.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.2854, allocations: 1.298 MB / 0.5804 GB, free: 9.656 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.287, allocations: 1.761 MB / 0.5821 GB, free: 7.887 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.2873, allocations: 139.9 kB / 0.5823 GB, free: 7.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.288, allocations: 271.9 kB / 0.5825 GB, free: 7.484 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.2885, allocations: 0.6218 MB / 0.5831 GB, free: 6.859 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.2897, allocations: 1.451 MB / 0.5845 GB, free: 5.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.2927, allocations: 3.673 MB / 0.5881 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2927, allocations: 0 / 0.5881 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2927, allocations: 4 kB / 0.5881 GB, free: 1.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.2928, allocations: 3.938 kB / 0.5881 GB, free: 1.703 MB / 394.7 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.01989/0.3127, allocations: 5.905 MB / 0.5939 GB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3127, allocations: 8.031 kB / 0.5939 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.3286, allocations: 2.271 MB / 0.5961 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004008/0.3327, allocations: 1.855 MB / 0.5979 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007164/0.3334, allocations: 0.671 MB / 0.5986 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/0.334, allocations: 219.9 kB / 0.5988 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.3398, allocations: 3.036 MB / 0.6018 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.3399, allocations: 7.922 kB / 0.6018 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.3401, allocations: 87.94 kB / 0.6019 GB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.3402, allocations: 52 kB / 0.6019 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/0.3458, allocations: 2.807 MB / 0.6046 GB, free: 428 kB / 410.7 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.01712/0.3629, allocations: 9.94 MB / 0.6144 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009993/0.3729, allocations: 4.094 MB / 0.6184 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/0.3768, allocations: 1.979 MB / 0.6203 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.3771, allocations: 43.12 kB / 0.6203 GB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.3771, allocations: 60.55 kB / 0.6204 GB, free: 15.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 4.319e-06/0.3771, allocations: 3.938 kB / 0.6204 GB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=242): time 0.1203/0.4974, allocations: 29.46 MB / 0.6492 GB, free: 2.156 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4976, allocations: 239.6 kB / 0.6494 GB, free: 1.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.5009, allocations: 2.261 MB / 0.6516 GB, free: 15.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004845/0.5014, allocations: 73.7 kB / 0.6517 GB, free: 15.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008629/0.5023, allocations: 1.152 MB / 0.6528 GB, free: 14.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009823/0.5033, allocations: 0.8588 MB / 0.6536 GB, free: 13.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.5037, allocations: 276.2 kB / 0.6539 GB, free: 13.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.5038, allocations: 301.1 kB / 0.6542 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/0.5079, allocations: 1.942 MB / 0.6561 GB, free: 10.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.5123, allocations: 2.318 MB / 0.6583 GB, free: 8.555 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05144/0.5638, allocations: 13.99 MB / 0.672 GB, free: 10.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.5638, allocations: 4 kB / 0.672 GB, free: 10.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.2517/0.8155, allocations: 12.44 MB / 0.6841 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.8157, allocations: 408.4 kB / 0.6845 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.8157, allocations: 5.781 kB / 0.6845 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/0.8329, allocations: 5.282 MB / 0.6897 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/0.8356, allocations: 0.5253 MB / 0.6902 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04805/0.8837, allocations: 21.32 MB / 0.711 GB, free: 97.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/0.8873, allocations: 469.8 kB / 0.7115 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.8876, allocations: 106 kB / 0.7116 GB, free: 97.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.8877, allocations: 6.781 kB / 0.7116 GB, free: 97.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03488/0.9225, allocations: 12.13 MB / 0.7234 GB, free: 87.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/0.9226, allocations: 8 kB / 0.7235 GB, free: 87.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/0.9379, allocations: 5.276 MB / 0.7286 GB, free: 82.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.9403, allocations: 0.5196 MB / 0.7291 GB, free: 82.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04679/0.9871, allocations: 21.32 MB / 0.7499 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/0.9907, allocations: 433.1 kB / 0.7503 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.991, allocations: 112 kB / 0.7505 GB, free: 60.29 MB / 490.7 MB 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.001148/0.9921, allocations: 0.6093 MB / 0.7511 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.9926, allocations: 292.3 kB / 0.7513 GB, free: 59.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03344/1.026, allocations: 11.67 MB / 0.7627 GB, free: 47.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.387e-05/1.026, allocations: 15.95 kB / 0.7627 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.026, allocations: 0 / 0.7627 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/1.027, allocations: 404.8 kB / 0.7631 GB, free: 47.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/1.027, allocations: 44 kB / 0.7632 GB, free: 47.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.03, allocations: 293.2 kB / 0.7635 GB, free: 46.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003837/1.034, allocations: 1.339 MB / 0.7648 GB, free: 45.54 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01328/1.047, allocations: 5.701 MB / 0.7703 GB, free: 39.85 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009881/1.057, allocations: 5.902 MB / 0.7761 GB, free: 33.91 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00297/1.06, allocations: 1.62 MB / 0.7777 GB, free: 32.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001862/1.062, allocations: 1.499 MB / 0.7791 GB, free: 30.79 MB / 490.7 MB Notification: Performance of Backend: time 4.11e-07/1.062, allocations: 0 / 0.7791 GB, free: 30.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02416/1.086, allocations: 9.767 MB / 0.7887 GB, free: 20.91 MB / 490.7 MB Notification: Performance of SimCode: time 0.006922/1.093, allocations: 7.235 MB / 0.7957 GB, free: 13.61 MB / 490.7 MB Notification: Performance of Templates: time 0.1057/1.199, allocations: 77.85 MB / 0.8718 GB, free: 15.78 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)