Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadModel(Modelica): time 1.577/1.577, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.694e-05, allocations: 6.188 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07668/0.07672, allocations: 38.75 MB / 266.9 MB, free: 0.5 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001789/0.07857, allocations: 1.157 MB / 268 MB, free: 15.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.07963, allocations: 495.7 kB / 268.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.07968, allocations: 3.938 kB / 268.5 MB, free: 14.83 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.07973, allocations: 3.938 kB / 268.5 MB, free: 14.83 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.07984, allocations: 11.97 kB / 268.6 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.08022, allocations: 79.77 kB / 268.6 MB, free: 14.74 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.08032, allocations: 35.95 kB / 268.7 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.08037, allocations: 0 / 268.7 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.08044, allocations: 23.92 kB / 268.7 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.08052, allocations: 27.91 kB / 268.7 MB, free: 14.65 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.08066, allocations: 43.95 kB / 268.8 MB, free: 14.61 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.08071, allocations: 4 kB / 268.8 MB, free: 14.61 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.08076, allocations: 15.92 kB / 268.8 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.08081, allocations: 12 kB / 268.8 MB, free: 14.58 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.08097, allocations: 68.09 kB / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.08099, allocations: 0 / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.081, allocations: 0 / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.08102, allocations: 0 / 268.9 MB, free: 14.51 MB / 234.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.0006064/0.08164, allocations: 430.6 kB / 269.3 MB, free: 14.03 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.08168, allocations: 11.97 kB / 269.3 MB, free: 14.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.08174, allocations: 19.89 kB / 269.3 MB, free: 14 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.08191, allocations: 174.9 kB / 269.5 MB, free: 13.79 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.08194, allocations: 7.953 kB / 269.5 MB, free: 13.78 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.08198, allocations: 7.938 kB / 269.5 MB, free: 13.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.08223, allocations: 101 kB / 269.6 MB, free: 13.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.08225, allocations: 0 / 269.6 MB, free: 13.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.08228, allocations: 0 / 269.6 MB, free: 13.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.08229, allocations: 4 kB / 269.6 MB, free: 13.65 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.08247, allocations: 39.92 kB / 269.6 MB, free: 13.61 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.08298, allocations: 382.8 kB / 270 MB, free: 13.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.0832, allocations: 99.89 kB / 270.1 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.08324, allocations: 3.984 kB / 270.1 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.08353, allocations: 147.5 kB / 270.3 MB, free: 12.88 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.08355, allocations: 4 kB / 270.3 MB, free: 12.88 MB / 234.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006178/0.08418, allocations: 276.2 kB / 270.5 MB, free: 12.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.08429, allocations: 162.2 kB / 270.7 MB, free: 12.38 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.08443, allocations: 125.2 kB / 270.8 MB, free: 12.25 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.08446, allocations: 29.7 kB / 270.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.08453, allocations: 100.5 kB / 270.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.08457, allocations: 11.81 kB / 270.9 MB, free: 12.1 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.0846, allocations: 8 kB / 271 MB, free: 12.09 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.08472, allocations: 322.8 kB / 271.3 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.08483, allocations: 23.98 kB / 271.3 MB, free: 11.74 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.08498, allocations: 55.42 kB / 271.4 MB, free: 11.68 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.08515, allocations: 91.33 kB / 271.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.08517, allocations: 0 / 271.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004202/0.0856, allocations: 184.8 kB / 271.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.08568, allocations: 63.39 kB / 271.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.0857, allocations: 0 / 271.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.08572, allocations: 0 / 271.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.08579, allocations: 4.062 kB / 271.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.08582, allocations: 11.94 kB / 271.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.08598, allocations: 23.86 kB / 271.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.08601, allocations: 4 kB / 271.7 MB, free: 11.26 MB / 234.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.0001794/0.0862, allocations: 159.5 kB / 271.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.08624, allocations: 11.91 kB / 271.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.08629, allocations: 8.312 kB / 271.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.08632, allocations: 8 kB / 271.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.08633, allocations: 0 / 271.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.08635, allocations: 3.984 kB / 271.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.08661, allocations: 201.8 kB / 272.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.08663, allocations: 4 kB / 272.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.08665, allocations: 4 kB / 272.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.08667, allocations: 0 / 272.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.0867, allocations: 11.98 kB / 272.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.08672, allocations: 7.938 kB / 272.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.08673, allocations: 0 / 272.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.08725, allocations: 232 kB / 272.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.08733, allocations: 93 kB / 272.5 MB, free: 10.4 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.08738, allocations: 7.938 kB / 272.5 MB, free: 10.39 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.08755, allocations: 15.98 kB / 272.5 MB, free: 10.38 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.08764, allocations: 19.97 kB / 272.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.08767, allocations: 4 kB / 272.5 MB, free: 10.35 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.08777, allocations: 103.8 kB / 272.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.08778, allocations: 0 / 272.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.0881, allocations: 35.94 kB / 272.6 MB, free: 10.21 MB / 234.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.0002279/0.08834, allocations: 131.2 kB / 272.8 MB, free: 10.08 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.08875, allocations: 198.7 kB / 273 MB, free: 9.859 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.08877, allocations: 0 / 273 MB, free: 9.859 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.089, allocations: 123.3 kB / 273.1 MB, free: 9.727 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.08924, allocations: 8 kB / 273.1 MB, free: 9.719 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.08977, allocations: 219.1 kB / 273.3 MB, free: 9.477 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.09006, allocations: 0.7004 MB / 274 MB, free: 8.75 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.09012, allocations: 12.66 kB / 274 MB, free: 8.738 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.09017, allocations: 11.44 kB / 274 MB, free: 8.727 MB / 234.7 MB Notification: Performance of SimCode: time 5.81e-07/0.09018, allocations: 3.938 kB / 274 MB, free: 8.723 MB / 234.7 MB Notification: Performance of Templates: time 0.004964/0.09515, allocations: 1.196 MB / 275.2 MB, free: 7.531 MB / 234.7 MB