Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.000969, 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.322/1.322, allocations: 223.3 MB / 239 MB, free: 5.438 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.001035/0.001035, 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.4995/0.4995, allocations: 91.92 MB / 433.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 8 kB / 0.5042 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 72.47 MB / 0.5749 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.004358/0.3283, allocations: 5.84 MB / 0.5806 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.3314, allocations: 1.885 MB / 0.5825 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009618/0.3324, allocations: 14.22 kB / 0.5825 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007732/0.3332, allocations: 166.8 kB / 0.5827 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.3352, allocations: 0.6069 MB / 0.5833 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3365, allocations: 0.5436 MB / 0.5838 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3381, allocations: 1.31 MB / 0.5851 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.3386, allocations: 256.6 kB / 0.5853 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008569/0.3395, allocations: 0.5061 MB / 0.5858 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.3404, allocations: 0.6372 MB / 0.5864 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.3407, allocations: 49.75 kB / 0.5865 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.3413, allocations: 180.4 kB / 0.5866 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.3416, allocations: 218 kB / 0.5869 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3419, allocations: 218.3 kB / 0.5871 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.343, allocations: 1.135 MB / 0.5882 GB, free: 29.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.343, allocations: 0 / 0.5882 GB, free: 29.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.343, allocations: 4.141 kB / 0.5882 GB, free: 29.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.05e-05/0.3431, allocations: 0 / 0.5882 GB, free: 29.01 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006935/0.35, allocations: 2.367 MB / 0.5905 GB, free: 28.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.35, allocations: 13.66 kB / 0.5905 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.3548, allocations: 0.7856 MB / 0.5913 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.3563, allocations: 0.7718 MB / 0.592 GB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.3566, allocations: 273.6 kB / 0.5923 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.3569, allocations: 81.12 kB / 0.5924 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.3593, allocations: 1.196 MB / 0.5935 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3593, allocations: 0 / 0.5935 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.3595, allocations: 34.45 kB / 0.5936 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3595, allocations: 17.81 kB / 0.5936 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.3618, allocations: 1.158 MB / 0.5947 GB, free: 26.26 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.00577/0.3676, allocations: 3.522 MB / 0.5981 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.3697, allocations: 1.507 MB / 0.5996 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.3712, allocations: 0.8181 MB / 0.6004 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.3714, allocations: 17 kB / 0.6004 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.3715, allocations: 44.14 kB / 0.6005 GB, free: 22.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 4.278e-06/0.3715, allocations: 0 / 0.6005 GB, free: 22.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02681/0.3983, allocations: 8.455 MB / 0.6087 GB, free: 21.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.3984, allocations: 88.3 kB / 0.6088 GB, free: 21.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.4001, allocations: 0.9336 MB / 0.6097 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.4003, allocations: 41.52 kB / 0.6098 GB, free: 21.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.4006, allocations: 485.9 kB / 0.6102 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.401, allocations: 318.2 kB / 0.6105 GB, free: 20.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4011, allocations: 28.44 kB / 0.6106 GB, free: 20.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.4012, allocations: 353.1 kB / 0.6109 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.4028, allocations: 0.7672 MB / 0.6116 GB, free: 19.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.4045, allocations: 0.9005 MB / 0.6125 GB, free: 19.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.4061, allocations: 0.8202 MB / 0.6133 GB, free: 19.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4061, allocations: 1.062 kB / 0.6133 GB, free: 19.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01394/0.4201, allocations: 5.115 MB / 0.6183 GB, free: 16.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/0.4202, allocations: 149.1 kB / 0.6185 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4202, allocations: 8 kB / 0.6185 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.4259, allocations: 2.108 MB / 0.6205 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/0.4269, allocations: 207.7 kB / 0.6207 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.4453, allocations: 9.535 MB / 0.63 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.4471, allocations: 211 kB / 0.6302 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.4473, allocations: 43.98 kB / 0.6303 GB, free: 4.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.4473, allocations: 6.188 kB / 0.6303 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01219/0.4595, allocations: 4.953 MB / 0.6351 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.4596, allocations: 4 kB / 0.6351 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006371/0.466, allocations: 2.112 MB / 0.6372 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.467, allocations: 199.8 kB / 0.6374 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.4884, allocations: 9.524 MB / 0.6467 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.49, allocations: 203.1 kB / 0.6469 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.4902, allocations: 39.98 kB / 0.6469 GB, free: 3.301 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007047/0.4909, allocations: 316.6 kB / 0.6472 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.4913, allocations: 114.6 kB / 0.6473 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.5046, allocations: 4.869 MB / 0.6521 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.5047, allocations: 8 kB / 0.6521 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5047, allocations: 4 kB / 0.6521 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.5047, allocations: 7.938 kB / 0.6521 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.5208, allocations: 6.446 MB / 0.6584 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.5209, allocations: 0 / 0.6584 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.5215, allocations: 119.8 kB / 0.6585 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006094/0.5277, allocations: 2.05 MB / 0.6605 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.5279, allocations: 16 kB / 0.6605 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/0.5464, allocations: 8.215 MB / 0.6685 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5465, allocations: 0 / 0.6685 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.562, allocations: 5.833 MB / 0.6742 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.5625, allocations: 211.5 kB / 0.6744 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.5628, allocations: 16 kB / 0.6745 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.564, allocations: 147.9 kB / 0.6746 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006183/0.5647, allocations: 200.6 kB / 0.6748 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/0.5648, allocations: 27.94 kB / 0.6748 GB, free: 6.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.5658, allocations: 0.6353 MB / 0.6754 GB, free: 5.738 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5658, allocations: 4 kB / 0.6754 GB, free: 5.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002133/0.5679, allocations: 0.6944 MB / 0.6761 GB, free: 5.039 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.5682, allocations: 128.8 kB / 0.6762 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01119/0.5794, allocations: 4.607 MB / 0.6807 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5795, allocations: 0 / 0.6807 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/0.584, allocations: 1.736 MB / 0.6824 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5851, allocations: 95.44 kB / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.5893, allocations: 2.447 MB / 0.6849 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.59, allocations: 1.109 MB / 0.686 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005552/0.5906, allocations: 114.8 kB / 0.6861 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.5908, allocations: 59.42 kB / 0.6862 GB, free: 10.64 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5908, allocations: 4 kB / 0.6862 GB, free: 10.64 MB / 494.1 MB Notification: Performance of Templates: time 0.04254/0.6334, allocations: 27.4 MB / 0.7129 GB, free: 15.26 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)