Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.325/1.325, allocations: 223.3 MB / 239 MB, free: 5.445 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.001045/0.001045, allocations: 184.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4972/0.4972, allocations: 91.92 MB / 433.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 8 kB / 0.5042 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3561, allocations: 72.47 MB / 0.5749 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004871/0.3611, allocations: 6.153 MB / 0.5809 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3646, allocations: 1.962 MB / 0.5829 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006991/0.3653, allocations: 11.03 kB / 0.5829 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.3659, allocations: 174.3 kB / 0.583 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.3675, allocations: 0.6751 MB / 0.5837 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3685, allocations: 0.5258 MB / 0.5842 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3701, allocations: 1.482 MB / 0.5857 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.3707, allocations: 268.1 kB / 0.5859 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3718, allocations: 0.588 MB / 0.5865 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.3726, allocations: 0.7666 MB / 0.5872 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.3728, allocations: 66.47 kB / 0.5873 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.3732, allocations: 196 kB / 0.5875 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.3735, allocations: 262.8 kB / 0.5877 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.3737, allocations: 237.1 kB / 0.588 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3749, allocations: 1.279 MB / 0.5892 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3749, allocations: 0 / 0.5892 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3749, allocations: 0.5938 kB / 0.5892 GB, free: 28.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.3749, allocations: 0 / 0.5892 GB, free: 28.38 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00845/0.3834, allocations: 2.602 MB / 0.5918 GB, free: 27.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3834, allocations: 9.062 kB / 0.5918 GB, free: 27.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.3884, allocations: 0.7864 MB / 0.5925 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.3901, allocations: 0.8841 MB / 0.5934 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3904, allocations: 271.4 kB / 0.5937 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3905, allocations: 82.88 kB / 0.5937 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.3926, allocations: 1.169 MB / 0.5949 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3926, allocations: 1.281 kB / 0.5949 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/0.3927, allocations: 33.64 kB / 0.5949 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3928, allocations: 21.86 kB / 0.5949 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.3947, allocations: 1.057 MB / 0.596 GB, free: 25.45 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.006299/0.401, allocations: 4.001 MB / 0.5999 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007405/0.4085, allocations: 2.951 MB / 0.6028 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.4101, allocations: 0.7572 MB / 0.6035 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.4102, allocations: 17.39 kB / 0.6035 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.412, allocations: 0.8911 MB / 0.6044 GB, free: 21.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.412, allocations: 0 / 0.6044 GB, free: 21.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0287/0.4407, allocations: 8.615 MB / 0.6128 GB, free: 20.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4408, allocations: 114 kB / 0.6129 GB, free: 19.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4426, allocations: 1.129 MB / 0.614 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.4428, allocations: 47.2 kB / 0.614 GB, free: 19.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.4432, allocations: 0.4959 MB / 0.6145 GB, free: 19.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/0.4436, allocations: 371.9 kB / 0.6149 GB, free: 18.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4437, allocations: 30.78 kB / 0.6149 GB, free: 18.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4438, allocations: 370.9 kB / 0.6153 GB, free: 18.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4454, allocations: 0.8545 MB / 0.6161 GB, free: 18.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.4471, allocations: 1.029 MB / 0.6171 GB, free: 17.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.449, allocations: 0.9849 MB / 0.6181 GB, free: 17.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.449, allocations: 1.156 kB / 0.6181 GB, free: 17.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01246/0.4614, allocations: 5.304 MB / 0.6233 GB, free: 11.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.4615, allocations: 59.41 kB / 0.6233 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4615, allocations: 7.984 kB / 0.6233 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005909/0.4674, allocations: 2.018 MB / 0.6253 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.4688, allocations: 295.6 kB / 0.6256 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.4872, allocations: 10.39 MB / 0.6357 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4893, allocations: 242.6 kB / 0.6359 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.4894, allocations: 55.97 kB / 0.636 GB, free: 14.46 MB / 446.1 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005913/0.49, allocations: 304.3 kB / 0.6363 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.4903, allocations: 126.4 kB / 0.6364 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.503, allocations: 4.764 MB / 0.6411 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.503, allocations: 8 kB / 0.6411 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.503, allocations: 8 kB / 0.6411 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.5031, allocations: 7.969 kB / 0.6411 GB, free: 9.207 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.01505/0.5181, allocations: 6.388 MB / 0.6473 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.5182, allocations: 0 / 0.6473 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.5189, allocations: 103.8 kB / 0.6474 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.5244, allocations: 1.892 MB / 0.6493 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.5246, allocations: 20 kB / 0.6493 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.5442, allocations: 9.671 MB / 0.6587 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5442, allocations: 4.125 kB / 0.6587 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.5591, allocations: 5.702 MB / 0.6643 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.5597, allocations: 235.2 kB / 0.6645 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.5601, allocations: 19.95 kB / 0.6645 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.5616, allocations: 151.9 kB / 0.6647 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006516/0.5622, allocations: 192.7 kB / 0.6649 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.5624, allocations: 35.98 kB / 0.6649 GB, free: 360 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.5638, allocations: 0.7556 MB / 0.6656 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5638, allocations: 0 / 0.6656 GB, free: 15.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002206/0.566, allocations: 491.6 kB / 0.6661 GB, free: 15.11 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003668/0.5664, allocations: 145.2 kB / 0.6663 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.5735, allocations: 2.991 MB / 0.6692 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5735, allocations: 4.25 kB / 0.6692 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004302/0.5779, allocations: 1.822 MB / 0.671 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.5794, allocations: 112.6 kB / 0.6711 GB, free: 9.945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.5842, allocations: 2.87 MB / 0.6739 GB, free: 7.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.585, allocations: 1.128 MB / 0.675 GB, free: 5.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006087/0.5856, allocations: 124.3 kB / 0.6751 GB, free: 5.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.586, allocations: 79.41 kB / 0.6752 GB, free: 5.684 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.586, allocations: 0 / 0.6752 GB, free: 5.684 MB / 478.1 MB Notification: Performance of Templates: time 0.03693/0.6229, allocations: 22.16 MB / 0.6968 GB, free: 15.55 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)