Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 270 MB / 282.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.255e-05, allocations: 7.984 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.454, allocations: 85.88 MB / 494.7 MB, free: 4.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001738/0.4542, allocations: 55.97 kB / 494.8 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004814/0.459, allocations: 1.5 MB / 496.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.459, allocations: 0 / 496.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.4591, allocations: 4 kB / 496.3 MB, free: 3.207 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004793/0.4596, allocations: 398.7 kB / 496.7 MB, free: 2.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4596, allocations: 8.031 kB / 496.7 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.4597, allocations: 27.66 kB / 496.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.46, allocations: 218.8 kB / 496.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.46, allocations: 16.33 kB / 496.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.4601, allocations: 20 kB / 496.9 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.4604, allocations: 176.2 kB / 497.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4605, allocations: 3.938 kB / 497.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.4605, allocations: 8 kB / 497.1 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.4605, allocations: 8 kB / 497.1 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.4608, allocations: 108.7 kB / 497.2 MB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.4616, allocations: 0.4953 MB / 497.7 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.4617, allocations: 42.47 kB / 497.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.4618, allocations: 24.97 kB / 497.8 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.837e-06/0.4618, allocations: 0 / 497.8 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4619, allocations: 38.56 kB / 497.8 MB, free: 1.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.926e-06/0.4619, allocations: 0 / 497.8 MB, free: 1.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001698/0.462, allocations: 49.61 kB / 497.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.4621, allocations: 51.41 kB / 497.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.4622, allocations: 105 kB / 498 MB, free: 1.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4622, allocations: 25.7 kB / 498.1 MB, free: 1.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4624, allocations: 206.3 kB / 498.3 MB, free: 1.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4624, allocations: 15.81 kB / 498.3 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.4624, allocations: 0 / 498.3 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4626, allocations: 314.8 kB / 498.6 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.4626, allocations: 11.94 kB / 498.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.4627, allocations: 8 kB / 498.6 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.4627, allocations: 19.92 kB / 498.6 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-06/0.4627, allocations: 0 / 498.6 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.4628, allocations: 49.66 kB / 498.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4629, allocations: 4 kB / 498.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4629, allocations: 0 / 498.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4629, allocations: 0 / 498.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.463, allocations: 15.98 kB / 498.7 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.463, allocations: 0 / 498.7 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.4631, allocations: 0 / 498.7 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4631, allocations: 4.25 kB / 498.7 MB, free: 0.5625 MB / 410.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.26e-05/0.4632, allocations: 112.9 kB / 498.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.4632, allocations: 15.84 kB / 498.8 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.4633, allocations: 12.08 kB / 498.8 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-06/0.4633, allocations: 0 / 498.8 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.213e-06/0.4633, allocations: 4 kB / 498.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-06/0.4633, allocations: 0 / 498.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.4638, allocations: 342.5 kB / 499.2 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4638, allocations: 11.94 kB / 499.2 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.4639, allocations: 15.98 kB / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4639, allocations: 0 / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4639, allocations: 4 kB / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-06/0.4639, allocations: 0 / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-06/0.464, allocations: 0 / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.4641, allocations: 151.4 kB / 499.4 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.4642, allocations: 81.06 kB / 499.4 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4642, allocations: 4 kB / 499.4 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.4643, allocations: 7.984 kB / 499.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.4644, allocations: 4 kB / 499.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4644, allocations: 0 / 499.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.4644, allocations: 87.28 kB / 499.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4645, allocations: 0 / 499.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.4648, allocations: 23.75 kB / 499.6 MB, free: 15.6 MB / 426.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 (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 Backend phase and start with SimCode phase: time 0.0001136/0.4649, allocations: 105.3 kB / 499.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.465, allocations: 23.94 kB / 499.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.883e-06/0.465, allocations: 7.938 kB / 499.7 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.4651, allocations: 12 kB / 499.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.4653, allocations: 4 kB / 499.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.4658, allocations: 215.8 kB / 499.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.4663, allocations: 0.7316 MB / 0.4889 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.4663, allocations: 15.38 kB / 0.4889 GB, free: 14.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.455e-06/0.4663, allocations: 4 kB / 0.4889 GB, free: 14.43 MB / 426.7 MB Notification: Performance of Templates: time 0.003095/0.4694, allocations: 1.22 MB / 0.4901 GB, free: 13.21 MB / 426.7 MB