Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.2 MB, free: 4.574 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.001316/0.001316, allocations: 180.5 kB / 289.5 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5421/0.5421, allocations: 91.9 MB / 431.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 75.88 kB / 0.5019 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3715, allocations: 71.26 MB / 0.5715 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007018/0.3786, allocations: 6.67 MB / 0.578 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.3831, allocations: 1.994 MB / 0.5799 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.3846, allocations: 15.12 kB / 0.5799 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3857, allocations: 238.8 kB / 0.5802 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.3888, allocations: 0.8158 MB / 0.581 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.3904, allocations: 0.6354 MB / 0.5816 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.3927, allocations: 1.628 MB / 0.5832 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006723/0.3934, allocations: 334.3 kB / 0.5835 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.3947, allocations: 0.6731 MB / 0.5841 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.396, allocations: 0.8572 MB / 0.585 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005359/0.3966, allocations: 127.9 kB / 0.5851 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3977, allocations: 266.2 kB / 0.5854 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.3982, allocations: 337.2 kB / 0.5857 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.3993, allocations: 0.6895 MB / 0.5863 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.4017, allocations: 1.69 MB / 0.588 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4017, allocations: 0 / 0.588 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4018, allocations: 1.625 kB / 0.588 GB, free: 27.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.4019, allocations: 0 / 0.588 GB, free: 27.32 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01164/0.4135, allocations: 2.75 MB / 0.5907 GB, free: 26.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.4136, allocations: 10.53 kB / 0.5907 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/0.4193, allocations: 0.78 MB / 0.5915 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.422, allocations: 0.9126 MB / 0.5923 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.4224, allocations: 258.1 kB / 0.5926 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/0.4229, allocations: 86.84 kB / 0.5927 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.426, allocations: 1.102 MB / 0.5938 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.4261, allocations: 5 kB / 0.5938 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.4262, allocations: 34.47 kB / 0.5938 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.4262, allocations: 18.53 kB / 0.5938 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.4286, allocations: 0.9941 MB / 0.5948 GB, free: 24.22 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.008663/0.4373, allocations: 3.877 MB / 0.5986 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008328/0.4457, allocations: 2.383 MB / 0.6009 GB, free: 21.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.4476, allocations: 0.6886 MB / 0.6016 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.4478, allocations: 28.59 kB / 0.6016 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.4501, allocations: 0.8298 MB / 0.6024 GB, free: 20.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 7.244e-06/0.4502, allocations: 0 / 0.6024 GB, free: 20.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03309/0.4833, allocations: 7.218 MB / 0.6095 GB, free: 19.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.4834, allocations: 115.3 kB / 0.6096 GB, free: 19.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.486, allocations: 1.132 MB / 0.6107 GB, free: 18.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003932/0.4864, allocations: 45.83 kB / 0.6107 GB, free: 18.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.4869, allocations: 0.4962 MB / 0.6112 GB, free: 18.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006953/0.4876, allocations: 361.4 kB / 0.6115 GB, free: 17.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.4886, allocations: 297.2 kB / 0.6118 GB, free: 17.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.4887, allocations: 303 kB / 0.6121 GB, free: 17.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.4907, allocations: 0.782 MB / 0.6129 GB, free: 17.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.4927, allocations: 0.9498 MB / 0.6138 GB, free: 16.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0259/0.5186, allocations: 5.812 MB / 0.6195 GB, free: 12.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.5187, allocations: 7.938 kB / 0.6195 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01412/0.5328, allocations: 4.45 MB / 0.6238 GB, free: 8.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.5329, allocations: 63.34 kB / 0.6239 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.533, allocations: 4 kB / 0.6239 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005774/0.5388, allocations: 1.639 MB / 0.6255 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.5403, allocations: 295.5 kB / 0.6258 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.5603, allocations: 8.61 MB / 0.6342 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.5629, allocations: 206.7 kB / 0.6344 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003856/0.5633, allocations: 59.91 kB / 0.6344 GB, free: 13.37 MB / 446.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.00102/0.5643, allocations: 310.8 kB / 0.6347 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/0.5649, allocations: 122.5 kB / 0.6349 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.5785, allocations: 3.904 MB / 0.6387 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.5786, allocations: 12 kB / 0.6387 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/0.5787, allocations: 8 kB / 0.6387 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/0.5787, allocations: 3.984 kB / 0.6387 GB, free: 8.973 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 postOpt removeSimpleEquations (simulation): time 0.01731/0.596, allocations: 5.516 MB / 0.6441 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.5961, allocations: 0 / 0.6441 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/0.5969, allocations: 107.8 kB / 0.6442 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.6028, allocations: 1.591 MB / 0.6457 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/0.6032, allocations: 20 kB / 0.6458 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/0.6254, allocations: 9.653 MB / 0.6552 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6255, allocations: 8 kB / 0.6552 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.6416, allocations: 4.772 MB / 0.6598 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/0.6425, allocations: 231.2 kB / 0.6601 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/0.6431, allocations: 27.94 kB / 0.6601 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.6448, allocations: 103.9 kB / 0.6602 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007446/0.6456, allocations: 196.7 kB / 0.6604 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.6458, allocations: 27.98 kB / 0.6604 GB, free: 2.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001443/0.6472, allocations: 0.7553 MB / 0.6611 GB, free: 1.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6473, allocations: 0 / 0.6611 GB, free: 1.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002059/0.6493, allocations: 483.5 kB / 0.6616 GB, free: 1.031 MB / 462.1 MB 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.0003984/0.6497, allocations: 144 kB / 0.6617 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007976/0.6577, allocations: 2.628 MB / 0.6643 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6578, allocations: 7.875 kB / 0.6643 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004998/0.6628, allocations: 1.591 MB / 0.6659 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.6647, allocations: 125.5 kB / 0.666 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.6701, allocations: 2.389 MB / 0.6683 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.671, allocations: 1.128 MB / 0.6694 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006634/0.6717, allocations: 120.1 kB / 0.6695 GB, free: 8.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.672, allocations: 75.42 kB / 0.6696 GB, free: 8.688 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6721, allocations: 0 / 0.6696 GB, free: 8.688 MB / 478.1 MB Notification: Performance of Templates: time 0.04475/0.7168, allocations: 24.15 MB / 0.6932 GB, free: 0.5703 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)