Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.361/1.361, allocations: 222.9 MB / 240 MB, free: 4.516 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.001254/0.001254, allocations: 196.5 kB / 290.3 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5567/0.5567, allocations: 91.9 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 83.89 kB / 0.5033 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3662, allocations: 71.26 MB / 0.5729 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01023/0.3765, allocations: 13.71 MB / 0.5863 GB, free: 28.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00709/0.3836, allocations: 3.479 MB / 0.5897 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.386, allocations: 32.25 kB / 0.5897 GB, free: 25.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.3874, allocations: 0.5524 MB / 0.5902 GB, free: 25.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.3915, allocations: 1.434 MB / 0.5916 GB, free: 24.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.3945, allocations: 1.505 MB / 0.5931 GB, free: 23.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.399, allocations: 3.732 MB / 0.5967 GB, free: 21.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.4002, allocations: 0.892 MB / 0.5976 GB, free: 21.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.4025, allocations: 1.526 MB / 0.5991 GB, free: 20.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.4046, allocations: 1.946 MB / 0.601 GB, free: 19.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.4051, allocations: 288.1 kB / 0.6013 GB, free: 19.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.4061, allocations: 434.3 kB / 0.6017 GB, free: 19.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005539/0.4067, allocations: 0.7612 MB / 0.6024 GB, free: 18.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.408, allocations: 1.639 MB / 0.604 GB, free: 17.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.4128, allocations: 3.964 MB / 0.6079 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4128, allocations: 0 / 0.6079 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4128, allocations: 1.188 kB / 0.6079 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.657e-05/0.4129, allocations: 0 / 0.6079 GB, free: 15.96 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02701/0.4399, allocations: 6.575 MB / 0.6143 GB, free: 13.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.44, allocations: 13.33 kB / 0.6143 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/0.456, allocations: 2.277 MB / 0.6166 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.4622, allocations: 1.874 MB / 0.6184 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008607/0.463, allocations: 0.7241 MB / 0.6191 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.4644, allocations: 214.8 kB / 0.6193 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009969/0.4744, allocations: 3.033 MB / 0.6223 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.147e-05/0.4745, allocations: 5.062 kB / 0.6223 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006612/0.4752, allocations: 85.09 kB / 0.6224 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/0.4753, allocations: 49.66 kB / 0.6224 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007223/0.4825, allocations: 2.797 MB / 0.6251 GB, free: 8.449 MB / 430.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.02151/0.504, allocations: 9.838 MB / 0.6347 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.515, allocations: 4.184 MB / 0.6388 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/0.5191, allocations: 1.964 MB / 0.6407 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.5195, allocations: 49.88 kB / 0.6408 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004805/0.5244, allocations: 2.223 MB / 0.643 GB, free: 5.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=248): time 6.662e-06/0.5244, allocations: 0 / 0.643 GB, free: 5.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=248): time 0.1155/0.6399, allocations: 28.19 MB / 0.6705 GB, free: 9.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.6401, allocations: 184.2 kB / 0.6707 GB, free: 9.371 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.6452, allocations: 2.269 MB / 0.6729 GB, free: 7.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008266/0.6461, allocations: 73.7 kB / 0.673 GB, free: 7.004 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.6471, allocations: 1.16 MB / 0.6741 GB, free: 5.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/0.6487, allocations: 0.8704 MB / 0.6749 GB, free: 4.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/0.6511, allocations: 0.5656 MB / 0.6755 GB, free: 4.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6512, allocations: 305.1 kB / 0.6758 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/0.6558, allocations: 1.955 MB / 0.6777 GB, free: 2.117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004714/0.6605, allocations: 2.314 MB / 0.6799 GB, free: 15.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05385/0.7144, allocations: 14.02 MB / 0.6936 GB, free: 1.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.7145, allocations: 3.938 kB / 0.6936 GB, free: 1.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04214/0.7566, allocations: 12.51 MB / 0.7059 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.7568, allocations: 118.8 kB / 0.706 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.7568, allocations: 8 kB / 0.706 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/0.7743, allocations: 5.288 MB / 0.7111 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.7774, allocations: 0.5695 MB / 0.7117 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06097/0.8384, allocations: 23.17 MB / 0.7343 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/0.8437, allocations: 485.1 kB / 0.7348 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008653/0.8446, allocations: 120 kB / 0.7349 GB, free: 6.93 MB / 0.5294 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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * 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.00236/0.847, allocations: 0.535 MB / 0.7354 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/0.8483, allocations: 300.3 kB / 0.7357 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03983/0.8882, allocations: 11.9 MB / 0.7473 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-05/0.8882, allocations: 24 kB / 0.7474 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000125/0.8884, allocations: 20 kB / 0.7474 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/0.8885, allocations: 11.95 kB / 0.7474 GB, free: 10.07 MB / 0.545 GB 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 postOpt removeSimpleEquations (simulation): time 0.04886/0.9374, allocations: 15.5 MB / 0.7625 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.9374, allocations: 0 / 0.7625 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.9391, allocations: 247.6 kB / 0.7628 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/0.9565, allocations: 5.243 MB / 0.7679 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008256/0.9574, allocations: 51.98 kB / 0.7679 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2922/1.25, allocations: 24.93 MB / 0.7923 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.25, allocations: 2.203 kB / 0.7923 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0439/1.294, allocations: 14.27 MB / 0.8062 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.295, allocations: 407.5 kB / 0.8066 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009433/1.296, allocations: 52.11 kB / 0.8067 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/1.299, allocations: 296.5 kB / 0.8069 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002128/1.301, allocations: 0.5847 MB / 0.8075 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/1.302, allocations: 64.41 kB / 0.8076 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002738/1.304, allocations: 1.504 MB / 0.809 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.304, allocations: 0 / 0.809 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004231/1.309, allocations: 1.17 MB / 0.8102 GB, free: 155.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005278/1.309, allocations: 179.1 kB / 0.8104 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01576/1.325, allocations: 6.619 MB / 0.8168 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/1.325, allocations: 0 / 0.8168 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/1.336, allocations: 4.401 MB / 0.8211 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.339, allocations: 270.5 kB / 0.8214 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/1.348, allocations: 5.319 MB / 0.8266 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.349, allocations: 1.804 MB / 0.8283 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009195/1.35, allocations: 262.4 kB / 0.8286 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/1.35, allocations: 174.8 kB / 0.8287 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.52e-07/1.35, allocations: 0 / 0.8287 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07881/1.429, allocations: 63.03 MB / 0.8903 GB, free: 80.27 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)