Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.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 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 169.3 kB / 16.1 MB, free: 5.691 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.35/1.35, allocations: 223.3 MB / 240.1 MB, free: 11.69 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.000859/0.0008592, allocations: 99.11 kB / 291.3 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4662/0.4662, allocations: 78.63 MB / 421 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003938, allocations: 8.328 kB / 0.4894 GB, free: 9.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3509, allocations: 69.35 MB / 0.5571 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006974/0.3579, allocations: 6.471 MB / 0.5635 GB, free: 12.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.3628, allocations: 2.025 MB / 0.5654 GB, free: 10.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008655/0.3637, allocations: 15.94 kB / 0.5654 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.3644, allocations: 194.8 kB / 0.5656 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.3667, allocations: 0.7175 MB / 0.5663 GB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3683, allocations: 0.591 MB / 0.5669 GB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.3701, allocations: 1.542 MB / 0.5684 GB, free: 7.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.3707, allocations: 289.3 kB / 0.5687 GB, free: 6.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.3716, allocations: 0.587 MB / 0.5693 GB, free: 6.312 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.3726, allocations: 0.7776 MB / 0.57 GB, free: 5.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.3728, allocations: 67.94 kB / 0.5701 GB, free: 5.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.3734, allocations: 191.8 kB / 0.5703 GB, free: 5.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.3737, allocations: 266.7 kB / 0.5705 GB, free: 5.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.3743, allocations: 0.6422 MB / 0.5712 GB, free: 4.363 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.3757, allocations: 1.264 MB / 0.5724 GB, free: 3.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3757, allocations: 4 kB / 0.5724 GB, free: 3.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3757, allocations: 0 / 0.5724 GB, free: 3.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.3757, allocations: 0 / 0.5724 GB, free: 3.094 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01054/0.3863, allocations: 2.556 MB / 0.5749 GB, free: 484 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3864, allocations: 12.03 kB / 0.5749 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/0.3941, allocations: 0.7865 MB / 0.5757 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.3966, allocations: 0.91 MB / 0.5766 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.397, allocations: 268.2 kB / 0.5768 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.3973, allocations: 87.92 kB / 0.5769 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.4007, allocations: 1.161 MB / 0.578 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.4008, allocations: 3.938 kB / 0.578 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.4009, allocations: 32 kB / 0.5781 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.401, allocations: 16 kB / 0.5781 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.4043, allocations: 1.058 MB / 0.5791 GB, free: 12.04 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.01047/0.4148, allocations: 3.972 MB / 0.583 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.4261, allocations: 2.926 MB / 0.5859 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.4286, allocations: 0.7465 MB / 0.5866 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.4288, allocations: 20.98 kB / 0.5866 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002579/0.4314, allocations: 0.888 MB / 0.5875 GB, free: 3.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 4.93e-06/0.4314, allocations: 0 / 0.5875 GB, free: 3.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.04705/0.4785, allocations: 8.831 MB / 0.5961 GB, free: 10.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.4786, allocations: 119.8 kB / 0.5962 GB, free: 10.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.4813, allocations: 1.127 MB / 0.5973 GB, free: 9.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.4816, allocations: 45.7 kB / 0.5973 GB, free: 8.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/0.4822, allocations: 0.4891 MB / 0.5978 GB, free: 8.465 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005602/0.4828, allocations: 366.9 kB / 0.5982 GB, free: 8.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.4831, allocations: 149.6 kB / 0.5983 GB, free: 7.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4832, allocations: 309.1 kB / 0.5986 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.486, allocations: 0.8433 MB / 0.5994 GB, free: 6.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.489, allocations: 1.02 MB / 0.6004 GB, free: 5.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03701/0.526, allocations: 6.238 MB / 0.6065 GB, free: 15.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.5261, allocations: 4 kB / 0.6065 GB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.02278/0.5489, allocations: 5.282 MB / 0.6117 GB, free: 10.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.5491, allocations: 67.34 kB / 0.6118 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.5491, allocations: 0 / 0.6118 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009622/0.5587, allocations: 1.908 MB / 0.6136 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.561, allocations: 295.6 kB / 0.6139 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02526/0.5863, allocations: 8.933 MB / 0.6226 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.5883, allocations: 250.6 kB / 0.6229 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.5884, allocations: 59.95 kB / 0.6229 GB, free: 14.44 MB / 442.7 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.0006336/0.5891, allocations: 315.8 kB / 0.6232 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5893, allocations: 130.4 kB / 0.6233 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.6022, allocations: 4.74 MB / 0.628 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.6023, allocations: 12 kB / 0.628 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.6023, allocations: 4 kB / 0.628 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.6024, allocations: 11.97 kB / 0.628 GB, free: 9.188 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.01514/0.6175, allocations: 6.36 MB / 0.6342 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.6176, allocations: 4 kB / 0.6342 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.6182, allocations: 99.89 kB / 0.6343 GB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005597/0.6238, allocations: 1.872 MB / 0.6361 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.624, allocations: 19.98 kB / 0.6362 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/0.6431, allocations: 9.714 MB / 0.6456 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6431, allocations: 0 / 0.6456 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.6583, allocations: 5.686 MB / 0.6512 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.6588, allocations: 235.2 kB / 0.6514 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.659, allocations: 16 kB / 0.6514 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6602, allocations: 151.9 kB / 0.6516 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/0.6608, allocations: 188.7 kB / 0.6518 GB, free: 408 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.6609, allocations: 31.98 kB / 0.6518 GB, free: 376 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.662, allocations: 0.7553 MB / 0.6525 GB, free: 15.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.662, allocations: 0 / 0.6525 GB, free: 15.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001422/0.6634, allocations: 487.5 kB / 0.653 GB, free: 15.13 MB / 474.7 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.00028/0.6637, allocations: 136.2 kB / 0.6531 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.6703, allocations: 2.878 MB / 0.6559 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6703, allocations: 0.75 kB / 0.6559 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/0.6745, allocations: 1.805 MB / 0.6577 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6756, allocations: 117.1 kB / 0.6578 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.6799, allocations: 2.929 MB / 0.6607 GB, free: 7.148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.6806, allocations: 1.132 MB / 0.6618 GB, free: 5.988 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.681, allocations: 79.42 kB / 0.6618 GB, free: 5.91 MB / 474.7 MB Notification: Performance of SimCode: time 3.6e-07/0.681, allocations: 0 / 0.6618 GB, free: 5.91 MB / 474.7 MB Notification: Performance of Templates: time 0.2653/0.9463, allocations: 23.73 MB / 0.685 GB, free: 115.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)