Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 178.3 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.258/1.258, allocations: 222.8 MB / 239.7 MB, free: 11.93 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.0007598/0.0007599, allocations: 92.23 kB / 290.5 MB, free: 11.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4178/0.4178, allocations: 78.41 MB / 419.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8.375 kB / 499.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 68.76 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI): time 0.008329/0.2539, allocations: 14.35 MB / 0.5685 GB, free: 5.836 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.2591, allocations: 3.667 MB / 0.5721 GB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.2604, allocations: 32 kB / 0.5721 GB, free: 2.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.2613, allocations: 445.1 kB / 0.5726 GB, free: 1.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.2638, allocations: 1.227 MB / 0.5738 GB, free: 472 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.2665, allocations: 1.449 MB / 0.5752 GB, free: 15.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.2697, allocations: 3.515 MB / 0.5786 GB, free: 11.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009072/0.2706, allocations: 0.7217 MB / 0.5793 GB, free: 10.74 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.2721, allocations: 1.318 MB / 0.5806 GB, free: 9.418 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.2738, allocations: 1.788 MB / 0.5824 GB, free: 7.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.2741, allocations: 144 kB / 0.5825 GB, free: 7.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.2748, allocations: 275.9 kB / 0.5828 GB, free: 7.211 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.2753, allocations: 0.6256 MB / 0.5834 GB, free: 6.582 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2765, allocations: 1.463 MB / 0.5848 GB, free: 5.109 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.2796, allocations: 3.723 MB / 0.5884 GB, free: 1.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2796, allocations: 0 / 0.5884 GB, free: 1.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2796, allocations: 0 / 0.5884 GB, free: 1.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.28e-05/0.2796, allocations: 0 / 0.5884 GB, free: 1.371 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.0196/0.2992, allocations: 5.964 MB / 0.5943 GB, free: 11.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2993, allocations: 8.031 kB / 0.5943 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.3137, allocations: 2.275 MB / 0.5965 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.317, allocations: 1.89 MB / 0.5983 GB, free: 7.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005809/0.3176, allocations: 0.6633 MB / 0.599 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003908/0.318, allocations: 220 kB / 0.5992 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005611/0.3236, allocations: 3.048 MB / 0.6022 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.3237, allocations: 7.906 kB / 0.6022 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.3239, allocations: 87.92 kB / 0.6023 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.3239, allocations: 48 kB / 0.6023 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005531/0.3295, allocations: 2.827 MB / 0.6051 GB, free: 15.97 MB / 426.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.01635/0.3458, allocations: 10.02 MB / 0.6149 GB, free: 5.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.356, allocations: 4.104 MB / 0.6189 GB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003766/0.3598, allocations: 1.984 MB / 0.6208 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.3601, allocations: 41.88 kB / 0.6208 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.3602, allocations: 68.48 kB / 0.6209 GB, free: 15.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=243): time 4.549e-06/0.3602, allocations: 0 / 0.6209 GB, free: 15.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=243): time 0.1154/0.4756, allocations: 28.18 MB / 0.6484 GB, free: 2.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4757, allocations: 231.6 kB / 0.6486 GB, free: 2.617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.4791, allocations: 2.297 MB / 0.6509 GB, free: 308 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005079/0.4796, allocations: 69.7 kB / 0.651 GB, free: 232 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/0.4804, allocations: 1.176 MB / 0.6521 GB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008368/0.4812, allocations: 0.8665 MB / 0.6529 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.4816, allocations: 276.2 kB / 0.6532 GB, free: 13.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.4817, allocations: 305.1 kB / 0.6535 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/0.4857, allocations: 1.954 MB / 0.6554 GB, free: 11.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004264/0.49, allocations: 2.338 MB / 0.6577 GB, free: 9.188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05172/0.5417, allocations: 14.2 MB / 0.6716 GB, free: 10.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.5417, allocations: 0 / 0.6716 GB, free: 10.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.2539/0.7956, allocations: 12.49 MB / 0.6838 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.7959, allocations: 406.9 kB / 0.6841 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.7959, allocations: 10.16 kB / 0.6842 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01709/0.813, allocations: 5.251 MB / 0.6893 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/0.8159, allocations: 0.5467 MB / 0.6898 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0468/0.8627, allocations: 21.3 MB / 0.7106 GB, free: 97.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/0.8664, allocations: 475.9 kB / 0.7111 GB, free: 97.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.8667, allocations: 112.8 kB / 0.7112 GB, free: 97.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8667, allocations: 3.562 kB / 0.7112 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03418/0.9008, allocations: 12.17 MB / 0.7231 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.9009, allocations: 8 kB / 0.7231 GB, free: 88.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/0.916, allocations: 5.251 MB / 0.7282 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.9187, allocations: 0.5344 MB / 0.7287 GB, free: 82.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04641/0.9651, allocations: 21.3 MB / 0.7495 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.9687, allocations: 442.7 kB / 0.75 GB, free: 60.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.9689, allocations: 108 kB / 0.7501 GB, free: 60.55 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 (314): * Single equations (assignments): 309 * 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.001102/0.97, allocations: 0.6138 MB / 0.7507 GB, free: 59.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/0.9705, allocations: 294.8 kB / 0.7509 GB, free: 59.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/1.004, allocations: 11.71 MB / 0.7624 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/1.005, allocations: 15.95 kB / 0.7624 GB, free: 47.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.005, allocations: 0 / 0.7624 GB, free: 47.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007683/1.005, allocations: 412.1 kB / 0.7628 GB, free: 47.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/1.006, allocations: 46.06 kB / 0.7628 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.009, allocations: 287.7 kB / 0.7631 GB, free: 47.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003771/1.012, allocations: 1.339 MB / 0.7644 GB, free: 45.78 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01341/1.026, allocations: 5.748 MB / 0.77 GB, free: 40.05 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01025/1.036, allocations: 5.945 MB / 0.7758 GB, free: 34.07 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003055/1.039, allocations: 1.628 MB / 0.7774 GB, free: 32.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00195/1.041, allocations: 1.526 MB / 0.7789 GB, free: 30.91 MB / 490.7 MB Notification: Performance of Backend: time 5.01e-07/1.041, allocations: 0 / 0.7789 GB, free: 30.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02482/1.066, allocations: 9.821 MB / 0.7885 GB, free: 20.98 MB / 490.7 MB Notification: Performance of SimCode: time 0.007199/1.073, allocations: 7.328 MB / 0.7956 GB, free: 13.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1094/1.183, allocations: 78.65 MB / 0.8725 GB, free: 14.97 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)