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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 222.9 MB / 239.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 105.9 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3854/0.3854, allocations: 78.52 MB / 418.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 67.91 kB / 497.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2286, allocations: 68.16 MB / 0.5524 GB, free: 19.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004739/0.2333, allocations: 7.001 MB / 0.5592 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2358, allocations: 2.056 MB / 0.5613 GB, free: 10.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.2362, allocations: 12 kB / 0.5613 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.2367, allocations: 194.8 kB / 0.5614 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.2379, allocations: 0.7278 MB / 0.5622 GB, free: 9.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.2388, allocations: 0.6028 MB / 0.5627 GB, free: 9.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.2396, allocations: 1.593 MB / 0.5643 GB, free: 7.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2399, allocations: 301.4 kB / 0.5646 GB, free: 7.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.2403, allocations: 0.626 MB / 0.5652 GB, free: 6.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.2409, allocations: 0.8283 MB / 0.566 GB, free: 5.934 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.241, allocations: 80 kB / 0.5661 GB, free: 5.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.2414, allocations: 203.9 kB / 0.5663 GB, free: 5.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.2416, allocations: 294.5 kB / 0.5666 GB, free: 5.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.2419, allocations: 0.6445 MB / 0.5672 GB, free: 4.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.2428, allocations: 1.656 MB / 0.5688 GB, free: 3.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2428, allocations: 4 kB / 0.5688 GB, free: 3.055 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.2428, allocations: 0 / 0.5688 GB, free: 3.055 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2428, allocations: 0 / 0.5688 GB, free: 3.055 MB / 378.7 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.007477/0.2503, allocations: 2.782 MB / 0.5715 GB, free: 212 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2503, allocations: 8.031 kB / 0.5715 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.2547, allocations: 0.7787 MB / 0.5723 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.256, allocations: 0.9296 MB / 0.5732 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.2563, allocations: 264.2 kB / 0.5735 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.2564, allocations: 87.91 kB / 0.5735 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.2583, allocations: 1.114 MB / 0.5746 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2584, allocations: 0 / 0.5746 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.2584, allocations: 32 kB / 0.5747 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2585, allocations: 20 kB / 0.5747 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.2603, allocations: 0.9995 MB / 0.5757 GB, free: 11.88 MB / 394.7 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.00577/0.2661, allocations: 3.922 MB / 0.5795 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007031/0.2731, allocations: 2.405 MB / 0.5818 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.2744, allocations: 0.6923 MB / 0.5825 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2745, allocations: 20.91 kB / 0.5825 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.276, allocations: 0.8372 MB / 0.5833 GB, free: 3.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.276, allocations: 0 / 0.5833 GB, free: 3.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02666/0.3027, allocations: 7.081 MB / 0.5903 GB, free: 12.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3028, allocations: 123.8 kB / 0.5904 GB, free: 12.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.3042, allocations: 1.135 MB / 0.5915 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.3044, allocations: 45.7 kB / 0.5915 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.3047, allocations: 0.5008 MB / 0.592 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3051, allocations: 370.9 kB / 0.5924 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.3055, allocations: 299.4 kB / 0.5927 GB, free: 10.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.3056, allocations: 301.1 kB / 0.5929 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.3071, allocations: 0.7965 MB / 0.5937 GB, free: 8.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.3087, allocations: 0.9694 MB / 0.5947 GB, free: 7.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/0.3324, allocations: 5.927 MB / 0.6005 GB, free: 1.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3324, allocations: 0 / 0.6005 GB, free: 1.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01312/0.3455, allocations: 4.512 MB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.3456, allocations: 63.39 kB / 0.6049 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3456, allocations: 4 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005854/0.3515, allocations: 1.662 MB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.3529, allocations: 295.6 kB / 0.6068 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/0.3706, allocations: 7.948 MB / 0.6146 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.3724, allocations: 210.6 kB / 0.6148 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.3725, allocations: 59.97 kB / 0.6149 GB, free: 2.988 MB / 426.7 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.000502/0.373, allocations: 308.1 kB / 0.6152 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.3732, allocations: 126.4 kB / 0.6153 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.3854, allocations: 3.924 MB / 0.6191 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3854, allocations: 15.92 kB / 0.6191 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.3854, allocations: 8 kB / 0.6191 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.3854, allocations: 3.984 kB / 0.6191 GB, free: 14.57 MB / 442.7 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.01367/0.3991, allocations: 5.548 MB / 0.6245 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3991, allocations: 0 / 0.6245 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.3997, allocations: 111.9 kB / 0.6247 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005256/0.405, allocations: 1.594 MB / 0.6262 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4051, allocations: 23.98 kB / 0.6262 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.423, allocations: 8.779 MB / 0.6348 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.423, allocations: 3.938 kB / 0.6348 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08973/0.5127, allocations: 33.46 MB / 0.6675 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.5132, allocations: 235.2 kB / 0.6677 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.5135, allocations: 16 kB / 0.6677 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.5148, allocations: 119.8 kB / 0.6678 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000612/0.5154, allocations: 192.7 kB / 0.668 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.5155, allocations: 27.98 kB / 0.6681 GB, free: 11.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.5167, allocations: 0.7713 MB / 0.6688 GB, free: 10.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5167, allocations: 0 / 0.6688 GB, free: 10.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001899/0.5186, allocations: 0.6792 MB / 0.6695 GB, free: 10.07 MB / 490.7 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.0002691/0.5189, allocations: 141.2 kB / 0.6696 GB, free: 9.922 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006534/0.5254, allocations: 2.632 MB / 0.6722 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5254, allocations: 0 / 0.6722 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004239/0.5297, allocations: 1.619 MB / 0.6738 GB, free: 5.598 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.5306, allocations: 115.8 kB / 0.6739 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.5385, allocations: 4.317 MB / 0.6781 GB, free: 1.098 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1948/0.7333, allocations: 1.17 MB / 0.6792 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007605/0.7341, allocations: 129.4 kB / 0.6793 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.7345, allocations: 80.03 kB / 0.6794 GB, free: 114.5 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.7345, allocations: 0.5938 kB / 0.6794 GB, free: 114.5 MB / 490.7 MB Notification: Performance of Templates: time 0.0398/0.7743, allocations: 33.02 MB / 0.7117 GB, free: 94.8 MB / 490.7 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)