Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.022e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.0857, allocations: 50.42 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4361, allocations: 76.79 MB / 419.3 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.4364, allocations: 66.41 kB / 419.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00509/0.4415, allocations: 1.347 MB / 420.7 MB, free: 132 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.4415, allocations: 0 / 420.7 MB, free: 132 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.941e-06/0.4416, allocations: 0 / 420.7 MB, free: 132 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005492/0.4421, allocations: 381.7 kB / 421.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4422, allocations: 12.03 kB / 421.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.4422, allocations: 3.781 kB / 421.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4424, allocations: 174.8 kB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4424, allocations: 4 kB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.4424, allocations: 4 kB / 421.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4426, allocations: 62.56 kB / 421.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.808e-06/0.4426, allocations: 0 / 421.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4427, allocations: 0 / 421.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-06/0.4427, allocations: 3.953 kB / 421.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4428, allocations: 34.75 kB / 421.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.4433, allocations: 304.5 kB / 421.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.4435, allocations: 55.06 kB / 421.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.4436, allocations: 22.94 kB / 421.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4436, allocations: 8 kB / 421.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4436, allocations: 30.56 kB / 421.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.505e-06/0.4437, allocations: 0 / 421.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002231/0.4439, allocations: 66.91 kB / 421.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.4439, allocations: 51.41 kB / 421.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.4441, allocations: 112.4 kB / 422 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.4441, allocations: 29.02 kB / 422.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.4442, allocations: 161.7 kB / 422.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.4442, allocations: 19.73 kB / 422.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-06/0.4443, allocations: 0 / 422.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4444, allocations: 317.6 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.4445, allocations: 18.81 kB / 422.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.4445, allocations: 11.25 kB / 422.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.4446, allocations: 14.56 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-06/0.4446, allocations: 0 / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001637/0.4448, allocations: 68.33 kB / 422.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4448, allocations: 4 kB / 422.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-06/0.4448, allocations: 0 / 422.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4449, allocations: 4 kB / 422.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4451, allocations: 23.98 kB / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.785e-06/0.4451, allocations: 3.984 kB / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.4452, allocations: 19.92 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4452, allocations: 3.938 kB / 422.7 MB, free: 14.06 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.125e-05/0.4453, allocations: 105 kB / 422.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.4454, allocations: 15.86 kB / 422.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.4456, allocations: 84.7 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-06/0.4456, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-06/0.4457, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-06/0.4457, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.4459, allocations: 183.8 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-06/0.4459, allocations: 0 / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.4462, allocations: 31.92 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.212e-06/0.4462, allocations: 0 / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4462, allocations: 3.953 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.732e-06/0.4462, allocations: 3.938 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.115e-06/0.4462, allocations: 0 / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.4465, allocations: 177 kB / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.4465, allocations: 81.11 kB / 423.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.4466, allocations: 0 / 423.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4468, allocations: 23 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4468, allocations: 7.984 kB / 423.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4468, allocations: 4 kB / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.4469, allocations: 87.16 kB / 423.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.4469, allocations: 0 / 423.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000321/0.4473, allocations: 27.53 kB / 423.5 MB, free: 13.2 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001665/0.4474, allocations: 115.2 kB / 423.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.4476, allocations: 37 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.51e-06/0.4476, allocations: 3.938 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.4477, allocations: 22.75 kB / 423.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.4479, allocations: 7.438 kB / 423.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.4483, allocations: 125 kB / 423.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4487, allocations: 0.6926 MB / 424.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.4487, allocations: 7.438 kB / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.468e-06/0.4487, allocations: 0 / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of Templates: time 0.0028/0.4515, allocations: 0.9562 MB / 425.5 MB, free: 11.22 MB / 346.7 MB