Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadModel(Modelica): time 1.135/1.135, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.166e-05, allocations: 4 kB / 154.5 MB, free: 2.848 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05157/0.05161, allocations: 25.18 MB / 179.7 MB, free: 9.629 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001646/0.05329, allocations: 1.012 MB / 180.7 MB, free: 8.613 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.05428, allocations: 448.4 kB / 181.1 MB, free: 8.172 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.05433, allocations: 0 / 181.1 MB, free: 8.172 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.05436, allocations: 0 / 181.1 MB, free: 8.172 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 8.938e-05/0.05446, allocations: 19.91 kB / 181.1 MB, free: 8.152 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.05481, allocations: 63.89 kB / 181.2 MB, free: 8.09 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.05491, allocations: 35.89 kB / 181.2 MB, free: 8.055 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.05495, allocations: 7.984 kB / 181.3 MB, free: 8.047 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.05501, allocations: 19.98 kB / 181.3 MB, free: 8.027 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.05508, allocations: 31.91 kB / 181.3 MB, free: 7.996 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.05525, allocations: 51.84 kB / 181.4 MB, free: 7.945 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.0553, allocations: 8 kB / 181.4 MB, free: 7.938 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.05534, allocations: 11.97 kB / 181.4 MB, free: 7.926 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.05538, allocations: 8 kB / 181.4 MB, free: 7.918 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.05555, allocations: 60.17 kB / 181.4 MB, free: 7.859 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.05557, allocations: 0 / 181.4 MB, free: 7.859 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05558, allocations: 3.938 kB / 181.4 MB, free: 7.855 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.05559, allocations: 0 / 181.4 MB, free: 7.855 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006025/0.05621, allocations: 442.5 kB / 181.9 MB, free: 7.363 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.05625, allocations: 8.031 kB / 181.9 MB, free: 7.355 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.05631, allocations: 11.91 kB / 181.9 MB, free: 7.344 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.05647, allocations: 178.9 kB / 182.1 MB, free: 7.129 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.0565, allocations: 4 kB / 182.1 MB, free: 7.125 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.05653, allocations: 4 kB / 182.1 MB, free: 7.121 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.05677, allocations: 97.09 kB / 182.2 MB, free: 7.008 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.0568, allocations: 3.938 kB / 182.2 MB, free: 7.004 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.05682, allocations: 0 / 182.2 MB, free: 7.004 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.05684, allocations: 7.953 kB / 182.2 MB, free: 6.996 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.05701, allocations: 39.92 kB / 182.2 MB, free: 6.957 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.0575, allocations: 382.8 kB / 182.6 MB, free: 6.523 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.05772, allocations: 103.8 kB / 182.7 MB, free: 6.395 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.05776, allocations: 4 kB / 182.7 MB, free: 6.391 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.05805, allocations: 147.6 kB / 182.8 MB, free: 6.219 MB / 154.7 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.05807, allocations: 0 / 182.8 MB, free: 6.219 MB / 154.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006155/0.05869, allocations: 276.4 kB / 183.1 MB, free: 5.918 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.05881, allocations: 166.2 kB / 183.3 MB, free: 5.719 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.05896, allocations: 117.3 kB / 183.4 MB, free: 5.594 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.059, allocations: 33.69 kB / 183.4 MB, free: 5.555 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.05909, allocations: 158.7 kB / 183.6 MB, free: 5.398 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.05914, allocations: 27.66 kB / 183.6 MB, free: 5.371 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.05916, allocations: 4 kB / 183.6 MB, free: 5.367 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.05932, allocations: 318.8 kB / 183.9 MB, free: 5.047 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.05944, allocations: 32.05 kB / 184 MB, free: 5.016 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.05959, allocations: 63.41 kB / 184 MB, free: 4.941 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.05973, allocations: 83.34 kB / 184.1 MB, free: 4.848 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.05975, allocations: 0 / 184.1 MB, free: 4.848 MB / 154.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003927/0.06015, allocations: 185.4 kB / 184.3 MB, free: 4.648 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.06022, allocations: 59.41 kB / 184.3 MB, free: 4.578 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.06024, allocations: 11.89 kB / 184.3 MB, free: 4.566 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.06026, allocations: 0 / 184.3 MB, free: 4.566 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.06033, allocations: 11.92 kB / 184.4 MB, free: 4.555 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.06035, allocations: 4 kB / 184.4 MB, free: 4.551 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.0605, allocations: 11.91 kB / 184.4 MB, free: 4.539 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.06053, allocations: 8 kB / 184.4 MB, free: 4.531 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001553/0.0607, allocations: 155.6 kB / 184.5 MB, free: 4.363 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.06074, allocations: 11.91 kB / 184.5 MB, free: 4.352 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.06079, allocations: 16.3 kB / 184.6 MB, free: 4.336 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.06081, allocations: 7.953 kB / 184.6 MB, free: 4.328 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.06082, allocations: 0 / 184.6 MB, free: 4.328 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.06084, allocations: 0 / 184.6 MB, free: 4.328 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.06107, allocations: 201.5 kB / 184.8 MB, free: 4.082 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.06109, allocations: 4 kB / 184.8 MB, free: 4.078 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.06111, allocations: 4 kB / 184.8 MB, free: 4.074 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.06113, allocations: 0 / 184.8 MB, free: 4.074 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.06115, allocations: 4 kB / 184.8 MB, free: 4.07 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.06116, allocations: 0 / 184.8 MB, free: 4.07 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.06117, allocations: 7.953 kB / 184.8 MB, free: 4.062 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.06166, allocations: 235.8 kB / 185 MB, free: 3.789 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.06174, allocations: 92.95 kB / 185.1 MB, free: 3.68 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.06178, allocations: 8 kB / 185.1 MB, free: 3.672 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.06194, allocations: 11.98 kB / 185.1 MB, free: 3.66 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.06201, allocations: 11.98 kB / 185.1 MB, free: 3.648 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.06204, allocations: 8 kB / 185.1 MB, free: 3.641 MB / 154.7 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.06215, allocations: 99.83 kB / 185.2 MB, free: 3.543 MB / 154.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.06216, allocations: 0 / 185.2 MB, free: 3.543 MB / 154.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.06248, allocations: 39.98 kB / 185.3 MB, free: 3.504 MB / 154.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002049/0.06269, allocations: 119.7 kB / 185.4 MB, free: 3.379 MB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.06308, allocations: 198.7 kB / 185.6 MB, free: 3.16 MB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.06309, allocations: 0 / 185.6 MB, free: 3.16 MB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.06335, allocations: 119.5 kB / 185.7 MB, free: 3.031 MB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.06358, allocations: 23.86 kB / 185.7 MB, free: 3.008 MB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.06411, allocations: 264.5 kB / 186 MB, free: 2.711 MB / 154.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.06444, allocations: 0.6965 MB / 186.7 MB, free: 1.988 MB / 154.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.06449, allocations: 11.44 kB / 186.7 MB, free: 1.977 MB / 154.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0645, allocations: 0 / 186.7 MB, free: 1.977 MB / 154.7 MB Notification: Performance of Templates: time 0.003843/0.06835, allocations: 1.377 MB / 188.1 MB, free: 0.5977 MB / 154.7 MB