Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006453/0.006453, allocations: 103.7 kB / 15.74 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 239.4 MB, free: 4.43 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.001515/0.001515, allocations: 184.5 kB / 289.7 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4455/0.4455, allocations: 78.52 MB / 418.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 75.88 kB / 0.5536 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3678, allocations: 68.17 MB / 0.6202 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007005/0.3748, allocations: 6.649 MB / 0.6267 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.3792, allocations: 1.99 MB / 0.6286 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.3806, allocations: 12 kB / 0.6286 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3818, allocations: 241.9 kB / 0.6289 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.3845, allocations: 0.8697 MB / 0.6297 GB, free: 360 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3861, allocations: 0.6346 MB / 0.6303 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.3887, allocations: 1.64 MB / 0.6319 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.3893, allocations: 326.5 kB / 0.6323 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3906, allocations: 0.6808 MB / 0.6329 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.3919, allocations: 0.8518 MB / 0.6338 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.3924, allocations: 135.9 kB / 0.6339 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008228/0.3932, allocations: 263.9 kB / 0.6341 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.3938, allocations: 346.6 kB / 0.6345 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.3948, allocations: 0.6835 MB / 0.6351 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.3972, allocations: 1.71 MB / 0.6368 GB, free: 9.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3972, allocations: 4 kB / 0.6368 GB, free: 9.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3972, allocations: 0 / 0.6368 GB, free: 9.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.991e-05/0.3973, allocations: 0 / 0.6368 GB, free: 9.074 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009318/0.4066, allocations: 2.75 MB / 0.6395 GB, free: 6.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4067, allocations: 16.02 kB / 0.6395 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.4116, allocations: 0.771 MB / 0.6403 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.4132, allocations: 0.9217 MB / 0.6412 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.4134, allocations: 252.2 kB / 0.6414 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.4136, allocations: 91.89 kB / 0.6415 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.4157, allocations: 1.094 MB / 0.6426 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4157, allocations: 3.938 kB / 0.6426 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/0.4158, allocations: 32 kB / 0.6426 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.4158, allocations: 27.92 kB / 0.6426 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4178, allocations: 0.9955 MB / 0.6436 GB, free: 1.949 MB / 446.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.006181/0.424, allocations: 3.859 MB / 0.6474 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00675/0.4307, allocations: 2.383 MB / 0.6497 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.432, allocations: 0.6878 MB / 0.6504 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4322, allocations: 24.97 kB / 0.6504 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.4337, allocations: 0.8333 MB / 0.6512 GB, free: 9.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.685e-06/0.4337, allocations: 4 kB / 0.6512 GB, free: 9.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02698/0.4607, allocations: 7.214 MB / 0.6582 GB, free: 2.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.4608, allocations: 119.7 kB / 0.6584 GB, free: 2.441 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.4625, allocations: 1.123 MB / 0.6595 GB, free: 1.305 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.4627, allocations: 49.69 kB / 0.6595 GB, free: 1.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.463, allocations: 0.4891 MB / 0.66 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.4634, allocations: 366.9 kB / 0.6603 GB, free: 400 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.4639, allocations: 291.4 kB / 0.6606 GB, free: 104 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.464, allocations: 301.1 kB / 0.6609 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.4655, allocations: 0.7809 MB / 0.6617 GB, free: 15.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.4672, allocations: 0.9538 MB / 0.6626 GB, free: 14.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0234/0.4906, allocations: 5.798 MB / 0.6683 GB, free: 8.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.4907, allocations: 0 / 0.6683 GB, free: 8.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0129/0.5036, allocations: 4.446 MB / 0.6726 GB, free: 3.668 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.851e-05/0.5037, allocations: 63.34 kB / 0.6727 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5037, allocations: 11.98 kB / 0.6727 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005691/0.5094, allocations: 1.631 MB / 0.6743 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.511, allocations: 291.6 kB / 0.6745 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.5302, allocations: 8.596 MB / 0.6829 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.5322, allocations: 206.6 kB / 0.6831 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5323, allocations: 59.92 kB / 0.6832 GB, free: 8.656 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (167): * Single equations (assignments): 164 * 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.0006485/0.533, allocations: 312.3 kB / 0.6835 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.5332, allocations: 122.5 kB / 0.6836 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.5451, allocations: 3.904 MB / 0.6874 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.5451, allocations: 12 kB / 0.6874 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.5451, allocations: 7.984 kB / 0.6874 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.5452, allocations: 7.984 kB / 0.6874 GB, free: 4.242 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 postOpt removeSimpleEquations (simulation): time 0.01358/0.5588, allocations: 5.507 MB / 0.6928 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5588, allocations: 0 / 0.6928 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/0.5595, allocations: 107.8 kB / 0.6929 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005137/0.5647, allocations: 1.595 MB / 0.6945 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.5648, allocations: 20 kB / 0.6945 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.5835, allocations: 9.642 MB / 0.7039 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5835, allocations: 3.938 kB / 0.7039 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.5972, allocations: 4.782 MB / 0.7086 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.5977, allocations: 227.2 kB / 0.7088 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.5979, allocations: 32 kB / 0.7088 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.599, allocations: 107.9 kB / 0.7089 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006566/0.5997, allocations: 192.7 kB / 0.7091 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/0.5998, allocations: 27.98 kB / 0.7091 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001121/0.6009, allocations: 0.7553 MB / 0.7099 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6009, allocations: 4 kB / 0.7099 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001484/0.6024, allocations: 491.5 kB / 0.7104 GB, free: 12.31 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003056/0.6027, allocations: 131.1 kB / 0.7105 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006334/0.6091, allocations: 2.597 MB / 0.713 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6091, allocations: 0.75 kB / 0.713 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003901/0.613, allocations: 1.582 MB / 0.7146 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/0.614, allocations: 129.3 kB / 0.7147 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.6183, allocations: 2.361 MB / 0.717 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.619, allocations: 1.132 MB / 0.7181 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003996/0.6194, allocations: 120.1 kB / 0.7182 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6197, allocations: 79.42 kB / 0.7183 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.6197, allocations: 0 / 0.7183 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of Templates: time 0.03785/0.6575, allocations: 24.41 MB / 0.7421 GB, free: 11.64 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)