Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002634/0.002638, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.605/4.605, allocations: 388.9 MB / 405.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003747/0.003746, allocations: 229.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5204/0.5204, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004855, allocations: 12.97 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.565, allocations: 84.24 MB / 0.7623 GB, free: 1.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5653, allocations: 70.53 kB / 0.7624 GB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02602/0.5913, allocations: 6.06 MB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5914, allocations: 0 / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.5914, allocations: 4 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007571/0.5922, allocations: 487.6 kB / 0.7688 GB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5922, allocations: 8.031 kB / 0.7688 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.5934, allocations: 74 kB / 0.7689 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.5936, allocations: 190.8 kB / 0.7691 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.5937, allocations: 18.25 kB / 0.7691 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.5938, allocations: 22.88 kB / 0.7691 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.5943, allocations: 202.9 kB / 0.7693 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5944, allocations: 0 / 0.7693 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.5944, allocations: 10.38 kB / 0.7693 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5944, allocations: 8 kB / 0.7693 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.5949, allocations: 153.9 kB / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.5962, allocations: 0.5895 MB / 0.77 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.5972, allocations: 239.5 kB / 0.7703 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.5974, allocations: 69.92 kB / 0.7703 GB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.5975, allocations: 4.234 kB / 0.7703 GB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5975, allocations: 30.8 kB / 0.7704 GB, free: 9.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.406e-06/0.5975, allocations: 0 / 0.7704 GB, free: 9.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007166/0.5983, allocations: 223.5 kB / 0.7706 GB, free: 9.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5983, allocations: 51.41 kB / 0.7706 GB, free: 9.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5984, allocations: 108.5 kB / 0.7707 GB, free: 9.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.5985, allocations: 33.39 kB / 0.7708 GB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.5986, allocations: 135.4 kB / 0.7709 GB, free: 9.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5987, allocations: 92.23 kB / 0.771 GB, free: 9.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.5987, allocations: 2.812 kB / 0.771 GB, free: 9.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5989, allocations: 329.5 kB / 0.7713 GB, free: 8.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.5991, allocations: 41.86 kB / 0.7713 GB, free: 8.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5992, allocations: 50.52 kB / 0.7714 GB, free: 8.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.5994, allocations: 45.72 kB / 0.7714 GB, free: 8.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5995, allocations: 0 / 0.7714 GB, free: 8.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004654/0.5999, allocations: 176.1 kB / 0.7716 GB, free: 8.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6, allocations: 12 kB / 0.7716 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6, allocations: 3.984 kB / 0.7716 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6, allocations: 0 / 0.7716 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.6008, allocations: 99.89 kB / 0.7717 GB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6008, allocations: 7.938 kB / 0.7717 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.6009, allocations: 19.7 kB / 0.7717 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.601, allocations: 11.44 kB / 0.7717 GB, free: 8.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.6011, allocations: 132.6 kB / 0.7719 GB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.6012, allocations: 7.906 kB / 0.7719 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.6013, allocations: 22.12 kB / 0.7719 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.6013, allocations: 4 kB / 0.7719 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6013, allocations: 0 / 0.7719 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6013, allocations: 0 / 0.7719 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.6017, allocations: 275.6 kB / 0.7722 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.6018, allocations: 0 / 0.7722 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.6025, allocations: 106.9 kB / 0.7723 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.6025, allocations: 0 / 0.7723 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.6025, allocations: 3.062 kB / 0.7723 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6025, allocations: 4 kB / 0.7723 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6026, allocations: 0 / 0.7723 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.6031, allocations: 275.3 kB / 0.7725 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.6032, allocations: 92.86 kB / 0.7726 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.6032, allocations: 3.812 kB / 0.7726 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.6034, allocations: 7.688 kB / 0.7726 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.6035, allocations: 19.53 kB / 0.7726 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.6035, allocations: 4 kB / 0.7727 GB, free: 7.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.6036, allocations: 86.53 kB / 0.7727 GB, free: 7.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6036, allocations: 4 kB / 0.7727 GB, free: 7.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.604, allocations: 47.03 kB / 0.7728 GB, free: 7.484 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.6042, allocations: 99.06 kB / 0.7729 GB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.6047, allocations: 136.6 kB / 0.773 GB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6048, allocations: 0 / 0.773 GB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.605, allocations: 82.31 kB / 0.7731 GB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.6053, allocations: 14.39 kB / 0.7731 GB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.6065, allocations: 0.5986 MB / 0.7737 GB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.607, allocations: 0.7402 MB / 0.7744 GB, free: 5.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.6072, allocations: 17.41 kB / 0.7744 GB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.6073, allocations: 15.44 kB / 0.7744 GB, free: 5.797 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6073, allocations: 0 / 0.7744 GB, free: 5.797 MB / 362.7 MB Notification: Performance of Templates: time 0.004748/0.6121, allocations: 0.8236 MB / 0.7752 GB, free: 4.988 MB / 362.7 MB