Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009701, allocations: 86.72 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.294/1.294, allocations: 223.3 MB / 239 MB, free: 5.453 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.001013/0.001013, allocations: 184.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5486/0.5486, allocations: 91.92 MB / 433.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 8 kB / 0.5042 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 72.47 MB / 0.5749 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.004414/0.3395, allocations: 5.884 MB / 0.5807 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.3434, allocations: 1.911 MB / 0.5826 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.3441, allocations: 11.66 kB / 0.5826 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.3446, allocations: 168.2 kB / 0.5827 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.346, allocations: 0.6042 MB / 0.5833 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3472, allocations: 0.5588 MB / 0.5839 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3486, allocations: 1.31 MB / 0.5851 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.349, allocations: 250.9 kB / 0.5854 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000743/0.3498, allocations: 0.5148 MB / 0.5859 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.3504, allocations: 0.6349 MB / 0.5865 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.3505, allocations: 55.94 kB / 0.5866 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.351, allocations: 176.4 kB / 0.5867 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3512, allocations: 221.2 kB / 0.5869 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3513, allocations: 217.4 kB / 0.5871 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.3521, allocations: 1.131 MB / 0.5882 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3521, allocations: 0 / 0.5882 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3521, allocations: 0 / 0.5882 GB, free: 28.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3522, allocations: 0 / 0.5882 GB, free: 28.53 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006928/0.3591, allocations: 2.379 MB / 0.5906 GB, free: 27.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3591, allocations: 9.625 kB / 0.5906 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.3641, allocations: 0.7825 MB / 0.5913 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3655, allocations: 0.7747 MB / 0.5921 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.3657, allocations: 261.7 kB / 0.5923 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3659, allocations: 78.91 kB / 0.5924 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.3682, allocations: 1.197 MB / 0.5936 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3682, allocations: 0 / 0.5936 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.858e-05/0.3683, allocations: 34.17 kB / 0.5936 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3683, allocations: 22.67 kB / 0.5936 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.3706, allocations: 1.162 MB / 0.5948 GB, free: 25.76 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.005636/0.3762, allocations: 3.553 MB / 0.5983 GB, free: 23.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.3783, allocations: 1.523 MB / 0.5997 GB, free: 22.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3799, allocations: 0.8147 MB / 0.6005 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.38, allocations: 11.75 kB / 0.6005 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3801, allocations: 52.14 kB / 0.6006 GB, free: 22.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.665e-06/0.3801, allocations: 0 / 0.6006 GB, free: 22.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02553/0.4056, allocations: 8.032 MB / 0.6084 GB, free: 21.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4057, allocations: 92.2 kB / 0.6085 GB, free: 20.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.4072, allocations: 0.9289 MB / 0.6094 GB, free: 20.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.4074, allocations: 41.7 kB / 0.6095 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.4077, allocations: 490.1 kB / 0.6099 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.408, allocations: 320 kB / 0.6102 GB, free: 19.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.4081, allocations: 25 kB / 0.6103 GB, free: 19.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.4082, allocations: 353.6 kB / 0.6106 GB, free: 19.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4097, allocations: 0.7754 MB / 0.6114 GB, free: 19.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.4113, allocations: 0.9029 MB / 0.6122 GB, free: 18.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.4129, allocations: 0.8356 MB / 0.6131 GB, free: 18.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4129, allocations: 3.953 kB / 0.6131 GB, free: 18.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01433/0.4273, allocations: 5.126 MB / 0.6181 GB, free: 17.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.4274, allocations: 154.3 kB / 0.6182 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4274, allocations: 4 kB / 0.6182 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005547/0.433, allocations: 2.099 MB / 0.6203 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/0.4339, allocations: 199.7 kB / 0.6205 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.4513, allocations: 9.53 MB / 0.6298 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4528, allocations: 218.9 kB / 0.63 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/0.4529, allocations: 39.98 kB / 0.63 GB, free: 4.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.453, allocations: 5.875 kB / 0.63 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/0.4647, allocations: 4.976 MB / 0.6349 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4647, allocations: 4 kB / 0.6349 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005936/0.4707, allocations: 2.104 MB / 0.6369 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.4717, allocations: 187.7 kB / 0.6371 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/0.491, allocations: 9.493 MB / 0.6464 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.4925, allocations: 203.1 kB / 0.6466 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.4926, allocations: 40 kB / 0.6466 GB, free: 3.637 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (109): * Single equations (assignments): 108 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005784/0.4932, allocations: 316.9 kB / 0.6469 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.4935, allocations: 118.5 kB / 0.647 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.5063, allocations: 4.85 MB / 0.6518 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5063, allocations: 19.98 kB / 0.6518 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5063, allocations: 3.953 kB / 0.6518 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.5063, allocations: 7.969 kB / 0.6518 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.5217, allocations: 6.473 MB / 0.6581 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.5218, allocations: 0 / 0.6581 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.5224, allocations: 115.9 kB / 0.6582 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005772/0.5282, allocations: 2.042 MB / 0.6602 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.5284, allocations: 19.95 kB / 0.6602 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.5454, allocations: 8.21 MB / 0.6683 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5454, allocations: 0 / 0.6683 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.5602, allocations: 5.849 MB / 0.674 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.5607, allocations: 207.4 kB / 0.6742 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.561, allocations: 19.94 kB / 0.6742 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.5622, allocations: 151.9 kB / 0.6743 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006575/0.5629, allocations: 204.6 kB / 0.6745 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.764e-05/0.563, allocations: 24 kB / 0.6746 GB, free: 6.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.564, allocations: 0.6352 MB / 0.6752 GB, free: 6.039 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.564, allocations: 0 / 0.6752 GB, free: 6.039 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002572/0.5666, allocations: 0.6983 MB / 0.6759 GB, free: 5.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0003044/0.5669, allocations: 123.7 kB / 0.676 GB, free: 5.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01116/0.5781, allocations: 4.623 MB / 0.6805 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.5782, allocations: 4 kB / 0.6805 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004474/0.5826, allocations: 1.747 MB / 0.6822 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5837, allocations: 97.8 kB / 0.6823 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.5878, allocations: 2.503 MB / 0.6847 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.5885, allocations: 1.109 MB / 0.6858 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005106/0.589, allocations: 118.9 kB / 0.6859 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.5892, allocations: 59.42 kB / 0.686 GB, free: 10.85 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5892, allocations: 0 / 0.686 GB, free: 10.85 MB / 494.1 MB Notification: Performance of Templates: time 0.03919/0.6284, allocations: 27.23 MB / 0.7126 GB, free: 15.64 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)