Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00754/0.00754, allocations: 169.2 kB / 15.12 MB, free: 5.559 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.461/1.461, allocations: 223.2 MB / 239 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009102, allocations: 105.5 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4742/0.4742, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 12 kB / 499.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 69.34 MB / 0.5558 GB, free: 38.72 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.004981/0.3364, allocations: 5.566 MB / 0.5612 GB, free: 37.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.3397, allocations: 1.957 MB / 0.5631 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.3402, allocations: 16 kB / 0.5631 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.3407, allocations: 165.8 kB / 0.5633 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.3421, allocations: 0.7144 MB / 0.564 GB, free: 35.87 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3433, allocations: 0.5386 MB / 0.5645 GB, free: 35.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.3444, allocations: 0.9684 MB / 0.5655 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.3447, allocations: 256.1 kB / 0.5657 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.3454, allocations: 0.5426 MB / 0.5662 GB, free: 34.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.3461, allocations: 0.7018 MB / 0.5669 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3463, allocations: 58.44 kB / 0.567 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.3466, allocations: 175.7 kB / 0.5671 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.3468, allocations: 251.9 kB / 0.5674 GB, free: 34.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.347, allocations: 236.8 kB / 0.5676 GB, free: 34.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.3479, allocations: 1.177 MB / 0.5688 GB, free: 33.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.3479, allocations: 0 / 0.5688 GB, free: 33.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3479, allocations: 0 / 0.5688 GB, free: 33.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3479, allocations: 0 / 0.5688 GB, free: 33.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007159/0.3551, allocations: 2.488 MB / 0.5712 GB, free: 32.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.3551, allocations: 11.94 kB / 0.5712 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.3596, allocations: 0.7797 MB / 0.572 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3609, allocations: 0.8456 MB / 0.5728 GB, free: 31.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.3611, allocations: 239.1 kB / 0.573 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.3612, allocations: 83.5 kB / 0.5731 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.3631, allocations: 1.141 MB / 0.5742 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.3632, allocations: 6.969 kB / 0.5742 GB, free: 31.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.3633, allocations: 29.22 kB / 0.5742 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3633, allocations: 24.58 kB / 0.5743 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.3651, allocations: 1.065 MB / 0.5753 GB, free: 30.93 MB / 426.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.005516/0.3707, allocations: 4.14 MB / 0.5793 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007255/0.3779, allocations: 2.885 MB / 0.5822 GB, free: 27.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.378, allocations: 9.781 kB / 0.5822 GB, free: 27.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3781, allocations: 56.28 kB / 0.5822 GB, free: 27.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.725e-06/0.3781, allocations: 0 / 0.5822 GB, free: 27.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02749/0.4056, allocations: 8.417 MB / 0.5904 GB, free: 26.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.4057, allocations: 143.3 kB / 0.5906 GB, free: 25.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.4072, allocations: 1.074 MB / 0.5916 GB, free: 25.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.4073, allocations: 43.2 kB / 0.5917 GB, free: 25.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.4076, allocations: 498 kB / 0.5921 GB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.4079, allocations: 341 kB / 0.5925 GB, free: 24.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.408, allocations: 29.5 kB / 0.5925 GB, free: 24.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.4081, allocations: 365 kB / 0.5928 GB, free: 24.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.4096, allocations: 0.8076 MB / 0.5936 GB, free: 24.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.4113, allocations: 0.978 MB / 0.5946 GB, free: 23.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.413, allocations: 0.9388 MB / 0.5955 GB, free: 23.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.413, allocations: 0 / 0.5955 GB, free: 23.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01459/0.4276, allocations: 5.137 MB / 0.6005 GB, free: 21.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.4278, allocations: 1.196 MB / 0.6017 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4278, allocations: 3.375 kB / 0.6017 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.4343, allocations: 1.85 MB / 0.6035 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4357, allocations: 271.7 kB / 0.6038 GB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/0.4561, allocations: 9.27 MB / 0.6128 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.458, allocations: 226.7 kB / 0.613 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.4581, allocations: 50 kB / 0.6131 GB, free: 15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/0.4581, allocations: 8.703 kB / 0.6131 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01268/0.4708, allocations: 4.974 MB / 0.6179 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4708, allocations: 4 kB / 0.6179 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.4763, allocations: 1.856 MB / 0.6198 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4775, allocations: 267.6 kB / 0.62 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.496, allocations: 9.26 MB / 0.6291 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4976, allocations: 207.2 kB / 0.6293 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.4977, allocations: 47.98 kB / 0.6293 GB, free: 14.23 MB / 442.7 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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006406/0.4984, allocations: 379.2 kB / 0.6297 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4987, allocations: 126.4 kB / 0.6298 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.512, allocations: 4.595 MB / 0.6343 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5121, allocations: 15.98 kB / 0.6343 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.5121, allocations: 8 kB / 0.6343 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.5121, allocations: 3.984 kB / 0.6343 GB, free: 9.074 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.0153/0.5274, allocations: 6.28 MB / 0.6404 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5274, allocations: 0 / 0.6404 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.5281, allocations: 119.8 kB / 0.6405 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005531/0.5336, allocations: 1.793 MB / 0.6423 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.5337, allocations: 23.98 kB / 0.6423 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/0.5517, allocations: 8.026 MB / 0.6502 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5517, allocations: 0 / 0.6502 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.5668, allocations: 5.524 MB / 0.6556 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.5673, allocations: 227.3 kB / 0.6558 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.5675, allocations: 16 kB / 0.6558 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.5687, allocations: 139.9 kB / 0.6559 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/0.5691, allocations: 180.7 kB / 0.6561 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.5692, allocations: 24 kB / 0.6561 GB, free: 2.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.5704, allocations: 0.7237 MB / 0.6568 GB, free: 1.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5704, allocations: 0 / 0.6568 GB, free: 1.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002079/0.5725, allocations: 0.7568 MB / 0.6576 GB, free: 0.9219 MB / 458.7 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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/0.5727, allocations: 131.2 kB / 0.6577 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01127/0.584, allocations: 4.788 MB / 0.6624 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.584, allocations: 0 / 0.6624 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004269/0.5883, allocations: 1.654 MB / 0.664 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.5891, allocations: 100.4 kB / 0.6641 GB, free: 10.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.593, allocations: 2.611 MB / 0.6666 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.5936, allocations: 1.153 MB / 0.6677 GB, free: 6.336 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006501/0.5943, allocations: 151.7 kB / 0.6679 GB, free: 6.184 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.5946, allocations: 75.42 kB / 0.668 GB, free: 6.109 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5946, allocations: 3.938 kB / 0.668 GB, free: 6.105 MB / 474.7 MB Notification: Performance of Templates: time 0.0395/0.6341, allocations: 26.95 MB / 0.6943 GB, free: 11.16 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)