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.001154/0.001155, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.5 MB, free: 4.734 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.001471/0.001471, allocations: 184.5 kB / 289.8 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5116/0.5116, allocations: 91.9 MB / 431.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001442, allocations: 79.89 kB / 0.5019 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3558, allocations: 71.26 MB / 0.5714 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005806/0.3616, allocations: 6.723 MB / 0.578 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.3655, allocations: 2.021 MB / 0.58 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007271/0.3663, allocations: 15.81 kB / 0.58 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.367, allocations: 187.9 kB / 0.5802 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.3685, allocations: 0.6436 MB / 0.5808 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3698, allocations: 0.6267 MB / 0.5814 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.371, allocations: 1.389 MB / 0.5828 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.3714, allocations: 284.5 kB / 0.583 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/0.3721, allocations: 0.5452 MB / 0.5836 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007054/0.3728, allocations: 0.6899 MB / 0.5843 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.373, allocations: 62.47 kB / 0.5843 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.3735, allocations: 201 kB / 0.5845 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.3737, allocations: 248.2 kB / 0.5847 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.3741, allocations: 0.5669 MB / 0.5853 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008912/0.375, allocations: 1.154 MB / 0.5864 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3751, allocations: 4 kB / 0.5864 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3751, allocations: 0.5938 kB / 0.5864 GB, free: 28.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3751, allocations: 0 / 0.5864 GB, free: 28.06 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.008355/0.3834, allocations: 2.541 MB / 0.5889 GB, free: 26.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3835, allocations: 12.5 kB / 0.5889 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.3885, allocations: 0.768 MB / 0.5897 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.3901, allocations: 0.8187 MB / 0.5905 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.3904, allocations: 259.5 kB / 0.5907 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.3905, allocations: 74.44 kB / 0.5908 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.3928, allocations: 1.121 MB / 0.5919 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3929, allocations: 3.938 kB / 0.5919 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.393, allocations: 30.25 kB / 0.5919 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.393, allocations: 18.53 kB / 0.5919 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.3953, allocations: 1.077 MB / 0.593 GB, free: 25.13 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.006437/0.4017, allocations: 3.497 MB / 0.5964 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.4038, allocations: 1.426 MB / 0.5978 GB, free: 22.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4053, allocations: 0.7476 MB / 0.5985 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4054, allocations: 12 kB / 0.5985 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.4054, allocations: 47.84 kB / 0.5986 GB, free: 21.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.806e-06/0.4054, allocations: 0 / 0.5986 GB, free: 21.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02689/0.4323, allocations: 6.506 MB / 0.6049 GB, free: 20.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4324, allocations: 87.95 kB / 0.605 GB, free: 20.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.4341, allocations: 0.937 MB / 0.6059 GB, free: 20.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.4343, allocations: 41.36 kB / 0.606 GB, free: 20.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.4346, allocations: 489.8 kB / 0.6064 GB, free: 19.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.435, allocations: 325 kB / 0.6067 GB, free: 19.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.4354, allocations: 205.3 kB / 0.6069 GB, free: 19.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.4355, allocations: 345 kB / 0.6073 GB, free: 19.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.437, allocations: 0.7102 MB / 0.608 GB, free: 18.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.4387, allocations: 0.8345 MB / 0.6088 GB, free: 18.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/0.4574, allocations: 4.718 MB / 0.6134 GB, free: 17.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4574, allocations: 5.094 kB / 0.6134 GB, free: 17.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01345/0.4709, allocations: 4.222 MB / 0.6175 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4709, allocations: 4 kB / 0.6175 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.471, allocations: 4 kB / 0.6175 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/0.4761, allocations: 1.714 MB / 0.6192 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4772, allocations: 203.7 kB / 0.6194 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/0.4942, allocations: 8.338 MB / 0.6275 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.4959, allocations: 182.8 kB / 0.6277 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.496, allocations: 35.98 kB / 0.6277 GB, free: 4.539 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001659/0.4977, allocations: 0.8849 MB / 0.6286 GB, free: 3.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001301/0.499, allocations: 0.8189 MB / 0.6294 GB, free: 2.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01708/0.5161, allocations: 4.69 MB / 0.634 GB, free: 14.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.091e-06/0.5162, allocations: 0 / 0.634 GB, free: 14.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01299/0.5291, allocations: 4.191 MB / 0.6381 GB, free: 9.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.5292, allocations: 8 kB / 0.6381 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5292, allocations: 0 / 0.6381 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00568/0.5349, allocations: 1.714 MB / 0.6398 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.536, allocations: 203.7 kB / 0.64 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.5557, allocations: 8.333 MB / 0.6481 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5574, allocations: 171 kB / 0.6483 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5575, allocations: 35.98 kB / 0.6483 GB, free: 15.27 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003627/0.5578, allocations: 236.9 kB / 0.6485 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.5581, allocations: 118.5 kB / 0.6486 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.5707, allocations: 3.943 MB / 0.6525 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.5708, allocations: 11.94 kB / 0.6525 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5708, allocations: 0 / 0.6525 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.5708, allocations: 3.984 kB / 0.6525 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5854, allocations: 5.567 MB / 0.6579 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.5855, allocations: 0 / 0.6579 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.5861, allocations: 107.8 kB / 0.658 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005613/0.5917, allocations: 1.737 MB / 0.6597 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.5918, allocations: 16 kB / 0.6597 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.6083, allocations: 7.346 MB / 0.6669 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6084, allocations: 4 kB / 0.6669 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.6231, allocations: 4.857 MB / 0.6717 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.6236, allocations: 207.4 kB / 0.6719 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.6238, allocations: 19.94 kB / 0.6719 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6249, allocations: 111.9 kB / 0.672 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006326/0.6255, allocations: 200.6 kB / 0.6722 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.6256, allocations: 24 kB / 0.6722 GB, free: 6.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009176/0.6265, allocations: 0.6352 MB / 0.6728 GB, free: 5.785 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6265, allocations: 7.875 kB / 0.6728 GB, free: 5.777 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001814/0.6284, allocations: 0.6906 MB / 0.6735 GB, free: 5.086 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.6286, allocations: 132.1 kB / 0.6736 GB, free: 4.953 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/0.6396, allocations: 4.06 MB / 0.6776 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6396, allocations: 0 / 0.6776 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004482/0.6441, allocations: 1.514 MB / 0.6791 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6451, allocations: 101 kB / 0.6792 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.6494, allocations: 2.566 MB / 0.6817 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.6501, allocations: 1.109 MB / 0.6828 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.6504, allocations: 71.42 kB / 0.6828 GB, free: 11.43 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6504, allocations: 0 / 0.6828 GB, free: 11.43 MB / 494.1 MB Notification: Performance of Templates: time 0.0249/0.6753, allocations: 20.98 MB / 0.7033 GB, free: 6.445 MB / 0.4981 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)