Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.28e-05, allocations: 7.984 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3027, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001998/0.3047, allocations: 1.151 MB / 304.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3059, allocations: 0.4955 MB / 305 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.306, allocations: 0 / 305 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.3061, allocations: 9.391 kB / 305 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3062, allocations: 13.45 kB / 305 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.3066, allocations: 72.05 kB / 305 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.3067, allocations: 36.31 kB / 305.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.3067, allocations: 2.25 kB / 305.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.3068, allocations: 27.11 kB / 305.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.3069, allocations: 28.31 kB / 305.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3071, allocations: 37.41 kB / 305.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3071, allocations: 10.16 kB / 305.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.3072, allocations: 16.02 kB / 305.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3072, allocations: 7.531 kB / 305.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.3074, allocations: 63.47 kB / 305.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3074, allocations: 0 / 305.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3074, allocations: 0 / 305.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.3074, allocations: 0.9688 kB / 305.3 MB, free: 11.38 MB / 250.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.000844/0.3083, allocations: 436.3 kB / 305.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.3084, allocations: 9.438 kB / 305.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.3085, allocations: 12.78 kB / 305.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3088, allocations: 180.9 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.3088, allocations: 7.281 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.3089, allocations: 4.281 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.3093, allocations: 100.8 kB / 306 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3093, allocations: 0 / 306 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3094, allocations: 2.156 kB / 306 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3094, allocations: 1.062 kB / 306 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.3097, allocations: 42.67 kB / 306.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.3106, allocations: 389.4 kB / 306.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3109, allocations: 98.34 kB / 306.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.311, allocations: 1.125 kB / 306.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004447/0.3115, allocations: 143 kB / 306.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 6.993e-06/0.3115, allocations: 0 / 306.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.001117/0.3126, allocations: 275.8 kB / 306.9 MB, free: 9.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.3128, allocations: 170.2 kB / 307.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3131, allocations: 131.8 kB / 307.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.3131, allocations: 33.69 kB / 307.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.3132, allocations: 88.33 kB / 307.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.3133, allocations: 23.66 kB / 307.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.3133, allocations: 4 kB / 307.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3135, allocations: 318.8 kB / 307.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3137, allocations: 27.98 kB / 307.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.3139, allocations: 59.42 kB / 307.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3141, allocations: 87.33 kB / 307.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3142, allocations: 0 / 307.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006734/0.3148, allocations: 180.9 kB / 308 MB, free: 8.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/0.315, allocations: 64.33 kB / 308.1 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.315, allocations: 4.062 kB / 308.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.315, allocations: 0 / 308.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.3152, allocations: 4 kB / 308.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.3152, allocations: 7.938 kB / 308.1 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.3155, allocations: 23.83 kB / 308.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.3155, allocations: 7.953 kB / 308.1 MB, free: 8.391 MB / 250.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.0002679/0.3158, allocations: 155.7 kB / 308.3 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.3159, allocations: 15.89 kB / 308.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.316, allocations: 12.31 kB / 308.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3161, allocations: 11.92 kB / 308.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3161, allocations: 0 / 308.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3161, allocations: 0 / 308.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.3165, allocations: 197.5 kB / 308.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3165, allocations: 4.375 kB / 308.5 MB, free: 7.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.3166, allocations: 3.984 kB / 308.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/0.3166, allocations: 4 kB / 308.5 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.3166, allocations: 4 kB / 308.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3166, allocations: 7.938 kB / 308.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.3167, allocations: 4 kB / 308.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.3173, allocations: 235.8 kB / 308.8 MB, free: 7.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.3174, allocations: 89.02 kB / 308.9 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.3175, allocations: 11.98 kB / 308.9 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.3177, allocations: 11.98 kB / 308.9 MB, free: 7.508 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3178, allocations: 15.94 kB / 308.9 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3179, allocations: 8 kB / 308.9 MB, free: 7.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.318, allocations: 99.27 kB / 309 MB, free: 7.387 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3181, allocations: 0 / 309 MB, free: 7.387 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005859/0.3187, allocations: 28 kB / 309 MB, free: 7.359 MB / 250.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.0003172/0.319, allocations: 127.3 kB / 309.2 MB, free: 7.223 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.3196, allocations: 198.7 kB / 309.4 MB, free: 7.004 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3197, allocations: 0 / 309.4 MB, free: 7.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.32, allocations: 119.3 kB / 309.5 MB, free: 6.875 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3204, allocations: 16.25 kB / 309.5 MB, free: 6.859 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.3212, allocations: 222.2 kB / 309.7 MB, free: 6.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3216, allocations: 0.7043 MB / 310.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.3217, allocations: 16.53 kB / 310.4 MB, free: 5.867 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.3218, allocations: 11.44 kB / 310.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3218, allocations: 0 / 310.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of Templates: time 0.00775/0.3296, allocations: 1.192 MB / 311.6 MB, free: 4.668 MB / 250.7 MB