Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.648 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.001319/0.001319, allocations: 196.4 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4928/0.4928, allocations: 78.52 MB / 418.9 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001624, allocations: 71.89 kB / 498.2 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1392, allocations: 68.18 MB / 0.5531 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2576/0.3969, allocations: 6.702 MB / 0.5596 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.4014, allocations: 2.013 MB / 0.5616 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.4024, allocations: 11.66 kB / 0.5616 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.4032, allocations: 246.6 kB / 0.5618 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.4052, allocations: 0.8156 MB / 0.5626 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4065, allocations: 0.6431 MB / 0.5632 GB, free: 35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.4081, allocations: 1.663 MB / 0.5649 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.4085, allocations: 323.8 kB / 0.5652 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009315/0.4095, allocations: 0.6859 MB / 0.5658 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008369/0.4103, allocations: 0.8806 MB / 0.5667 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.4105, allocations: 132.3 kB / 0.5668 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.4111, allocations: 269.5 kB / 0.5671 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.4113, allocations: 347.2 kB / 0.5674 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005144/0.4118, allocations: 0.7031 MB / 0.5681 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.4133, allocations: 1.726 MB / 0.5698 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4133, allocations: 7.531 kB / 0.5698 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4133, allocations: 0.875 kB / 0.5698 GB, free: 33.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.4133, allocations: 0 / 0.5698 GB, free: 33.59 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009015/0.4224, allocations: 2.782 MB / 0.5725 GB, free: 32.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4224, allocations: 8.375 kB / 0.5725 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.4276, allocations: 0.7833 MB / 0.5733 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.4295, allocations: 0.9236 MB / 0.5742 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.4297, allocations: 259.5 kB / 0.5744 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.4299, allocations: 86.88 kB / 0.5745 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.4319, allocations: 1.12 MB / 0.5756 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4319, allocations: 1.969 kB / 0.5756 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.432, allocations: 31.12 kB / 0.5756 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.432, allocations: 18.38 kB / 0.5757 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.4338, allocations: 0.9993 MB / 0.5766 GB, free: 31.8 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.00604/0.4399, allocations: 3.901 MB / 0.5804 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.4468, allocations: 2.399 MB / 0.5828 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.4484, allocations: 0.6928 MB / 0.5835 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.4486, allocations: 22.3 kB / 0.5835 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.4502, allocations: 0.8369 MB / 0.5843 GB, free: 28.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.646e-06/0.4502, allocations: 0 / 0.5843 GB, free: 28.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02869/0.4789, allocations: 7.081 MB / 0.5912 GB, free: 27.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.479, allocations: 115.1 kB / 0.5913 GB, free: 26.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.481, allocations: 1.142 MB / 0.5924 GB, free: 26.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003515/0.4814, allocations: 47.33 kB / 0.5925 GB, free: 26.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.4818, allocations: 0.501 MB / 0.593 GB, free: 25.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.4822, allocations: 366.3 kB / 0.5933 GB, free: 25.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/0.4828, allocations: 300.3 kB / 0.5936 GB, free: 25.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.4828, allocations: 303 kB / 0.5939 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.4845, allocations: 0.7968 MB / 0.5947 GB, free: 24.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4862, allocations: 0.9737 MB / 0.5956 GB, free: 24.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02617/0.5124, allocations: 5.919 MB / 0.6014 GB, free: 22.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.5125, allocations: 1.656 kB / 0.6014 GB, free: 22.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01469/0.5272, allocations: 4.509 MB / 0.6058 GB, free: 21.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.5273, allocations: 66.33 kB / 0.6059 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.5273, allocations: 2.469 kB / 0.6059 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006133/0.5334, allocations: 1.667 MB / 0.6075 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.5352, allocations: 296.5 kB / 0.6078 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.5536, allocations: 8.612 MB / 0.6162 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.5557, allocations: 216.7 kB / 0.6164 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.5559, allocations: 63.97 kB / 0.6165 GB, free: 13.76 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006255/0.5565, allocations: 306.1 kB / 0.6168 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.5567, allocations: 126.4 kB / 0.6169 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.5676, allocations: 3.912 MB / 0.6207 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.5676, allocations: 12.94 kB / 0.6207 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5676, allocations: 4 kB / 0.6207 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.5677, allocations: 3.984 kB / 0.6207 GB, free: 9.363 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 postOpt removeSimpleEquations (simulation): time 0.01262/0.5803, allocations: 5.559 MB / 0.6262 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.5803, allocations: 4 kB / 0.6262 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.581, allocations: 103.9 kB / 0.6263 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004752/0.5858, allocations: 1.595 MB / 0.6278 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.586, allocations: 25.48 kB / 0.6278 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.6049, allocations: 9.616 MB / 0.6372 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6049, allocations: 4 kB / 0.6372 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.6191, allocations: 4.803 MB / 0.6419 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.6197, allocations: 231.2 kB / 0.6421 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.6199, allocations: 19.94 kB / 0.6422 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.6211, allocations: 116.9 kB / 0.6423 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/0.6217, allocations: 192.7 kB / 0.6425 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/0.6218, allocations: 28 kB / 0.6425 GB, free: 2.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001088/0.6229, allocations: 0.7713 MB / 0.6432 GB, free: 1.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6229, allocations: 5.062 kB / 0.6432 GB, free: 1.832 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001446/0.6244, allocations: 487.6 kB / 0.6437 GB, free: 1.355 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002761/0.6247, allocations: 131.7 kB / 0.6438 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006609/0.6313, allocations: 2.633 MB / 0.6464 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6313, allocations: 4.25 kB / 0.6464 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004136/0.6355, allocations: 1.613 MB / 0.648 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6366, allocations: 121.5 kB / 0.6481 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.6407, allocations: 2.424 MB / 0.6505 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.6414, allocations: 1.128 MB / 0.6516 GB, free: 9.227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.6418, allocations: 124 kB / 0.6517 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6421, allocations: 83.41 kB / 0.6518 GB, free: 9.023 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6421, allocations: 0 / 0.6518 GB, free: 9.023 MB / 462.1 MB Notification: Performance of Templates: time 0.03746/0.6796, allocations: 24.46 MB / 0.6757 GB, free: 0.7891 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)