Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.6 kB / 16.36 MB, free: 5.824 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.333/1.333, allocations: 222.9 MB / 240 MB, free: 4.504 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.001589/0.001589, allocations: 188.4 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4531/0.4531, allocations: 78.53 MB / 419 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 87.86 kB / 498.9 MB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 68.17 MB / 0.5538 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2661/0.4151, allocations: 6.505 MB / 0.5601 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.4194, allocations: 1.953 MB / 0.562 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.4205, allocations: 10.69 kB / 0.562 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.4213, allocations: 235 kB / 0.5623 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.4232, allocations: 0.7956 MB / 0.563 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4243, allocations: 0.6278 MB / 0.5637 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.4257, allocations: 1.581 MB / 0.5652 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.4261, allocations: 322.9 kB / 0.5655 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.4268, allocations: 0.6524 MB / 0.5661 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.4275, allocations: 0.8227 MB / 0.5669 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.4277, allocations: 123.2 kB / 0.5671 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.4281, allocations: 269.1 kB / 0.5673 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.4284, allocations: 326.3 kB / 0.5676 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.4288, allocations: 0.6708 MB / 0.5683 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.4301, allocations: 1.654 MB / 0.5699 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4301, allocations: 2.719 kB / 0.5699 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4301, allocations: 0.9375 kB / 0.5699 GB, free: 33.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.4301, allocations: 3.938 kB / 0.5699 GB, free: 33.61 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007507/0.4376, allocations: 2.685 MB / 0.5725 GB, free: 32.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4377, allocations: 12.7 kB / 0.5725 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.4422, allocations: 0.7773 MB / 0.5733 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4435, allocations: 0.8884 MB / 0.5742 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.4438, allocations: 257.8 kB / 0.5744 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.4439, allocations: 80.53 kB / 0.5745 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.4457, allocations: 1.092 MB / 0.5756 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4457, allocations: 0 / 0.5756 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.4458, allocations: 30.25 kB / 0.5756 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.4458, allocations: 18.38 kB / 0.5756 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.4475, allocations: 0.9879 MB / 0.5766 GB, free: 31.84 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.005491/0.453, allocations: 3.798 MB / 0.5803 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006298/0.4593, allocations: 2.367 MB / 0.5826 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.4606, allocations: 0.6777 MB / 0.5833 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.4607, allocations: 11.56 kB / 0.5833 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.4622, allocations: 0.8182 MB / 0.5841 GB, free: 28.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 4.007e-06/0.4622, allocations: 2.344 kB / 0.5841 GB, free: 28.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0272/0.4894, allocations: 7.186 MB / 0.5911 GB, free: 27.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4895, allocations: 119.1 kB / 0.5912 GB, free: 27.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.4914, allocations: 1.094 MB / 0.5923 GB, free: 26.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.4917, allocations: 46.64 kB / 0.5923 GB, free: 26.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.492, allocations: 493.5 kB / 0.5928 GB, free: 26.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.4923, allocations: 353.2 kB / 0.5931 GB, free: 26.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/0.4929, allocations: 282.7 kB / 0.5934 GB, free: 25.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.4929, allocations: 302.3 kB / 0.5937 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4945, allocations: 0.7561 MB / 0.5944 GB, free: 25.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.4961, allocations: 0.9322 MB / 0.5953 GB, free: 24.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02243/0.5186, allocations: 5.555 MB / 0.6007 GB, free: 23.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.5186, allocations: 1.188 kB / 0.6007 GB, free: 23.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01367/0.5323, allocations: 4.359 MB / 0.605 GB, free: 22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.5324, allocations: 65.38 kB / 0.6051 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5324, allocations: 3.922 kB / 0.6051 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/0.538, allocations: 1.596 MB / 0.6066 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.5394, allocations: 274.2 kB / 0.6069 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/0.5576, allocations: 8.503 MB / 0.6152 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.5596, allocations: 198.8 kB / 0.6154 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.5599, allocations: 60.41 kB / 0.6154 GB, free: 14.98 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007775/0.5607, allocations: 303.3 kB / 0.6157 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.5611, allocations: 122.5 kB / 0.6158 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.572, allocations: 3.878 MB / 0.6196 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.572, allocations: 13.69 kB / 0.6196 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.572, allocations: 4 kB / 0.6197 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.572, allocations: 11.97 kB / 0.6197 GB, free: 10.62 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.01251/0.5846, allocations: 5.436 MB / 0.625 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5846, allocations: 0.9375 kB / 0.625 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5851, allocations: 107.8 kB / 0.6251 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004666/0.5898, allocations: 1.604 MB / 0.6266 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.5899, allocations: 27.98 kB / 0.6267 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.6094, allocations: 9.629 MB / 0.6361 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6095, allocations: 0 / 0.6361 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.623, allocations: 4.735 MB / 0.6407 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.6236, allocations: 219.3 kB / 0.6409 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/0.6241, allocations: 19.94 kB / 0.6409 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.6254, allocations: 111.9 kB / 0.641 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/0.6261, allocations: 193.3 kB / 0.6412 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.6262, allocations: 27.98 kB / 0.6412 GB, free: 4.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.6276, allocations: 0.7373 MB / 0.642 GB, free: 3.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6276, allocations: 0 / 0.642 GB, free: 3.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001664/0.6292, allocations: 471.5 kB / 0.6424 GB, free: 2.852 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002958/0.6296, allocations: 133.1 kB / 0.6425 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006032/0.6356, allocations: 2.52 MB / 0.645 GB, free: 164 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6356, allocations: 128 / 0.645 GB, free: 164 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/0.6396, allocations: 1.594 MB / 0.6466 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.6407, allocations: 123 kB / 0.6467 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.6445, allocations: 2.207 MB / 0.6488 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.6452, allocations: 1.122 MB / 0.6499 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004135/0.6456, allocations: 119.7 kB / 0.65 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.6458, allocations: 79.41 kB / 0.6501 GB, free: 10.86 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6458, allocations: 0 / 0.6501 GB, free: 10.86 MB / 462.1 MB Notification: Performance of Templates: time 0.03834/0.6842, allocations: 23.6 MB / 0.6732 GB, free: 3.473 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)