Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.741e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.08216, allocations: 44.5 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4141, allocations: 71.68 MB / 371.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4144, allocations: 64.83 kB / 371.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005299/0.4197, allocations: 1.443 MB / 373.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.53e-06/0.4198, allocations: 0.9688 kB / 373.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.4198, allocations: 1 kB / 373.1 MB, free: 21.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003416/0.4201, allocations: 363.1 kB / 373.4 MB, free: 21.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4202, allocations: 8.781 kB / 373.4 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.4202, allocations: 7.75 kB / 373.4 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.4203, allocations: 182.5 kB / 373.6 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4204, allocations: 2.031 kB / 373.6 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4204, allocations: 5.953 kB / 373.6 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4206, allocations: 105.9 kB / 373.7 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4206, allocations: 3.938 kB / 373.7 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4206, allocations: 4.969 kB / 373.7 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-06/0.4206, allocations: 1.938 kB / 373.7 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4208, allocations: 31.27 kB / 373.8 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.4214, allocations: 0.6373 MB / 374.4 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.4215, allocations: 104.5 kB / 374.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.4216, allocations: 41.05 kB / 374.5 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4216, allocations: 14.3 kB / 374.6 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.4216, allocations: 36.72 kB / 374.6 MB, free: 20.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.459e-06/0.4216, allocations: 0 / 374.6 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003435/0.422, allocations: 77.33 kB / 374.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.422, allocations: 160.4 kB / 374.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.4221, allocations: 116.8 kB / 374.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.4222, allocations: 25.7 kB / 375 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.4222, allocations: 97.88 kB / 375.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4223, allocations: 12.12 kB / 375.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-06/0.4223, allocations: 3.875 kB / 375.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.4223, allocations: 315.2 kB / 375.4 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.4224, allocations: 9.344 kB / 375.4 MB, free: 19.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.4224, allocations: 44.64 kB / 375.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.4225, allocations: 12.86 kB / 375.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-06/0.4225, allocations: 1.219 kB / 375.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001678/0.4227, allocations: 78.72 kB / 375.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4227, allocations: 5.531 kB / 375.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.118e-06/0.4227, allocations: 1.766 kB / 375.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4228, allocations: 2.188 kB / 375.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4229, allocations: 17.7 kB / 375.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.867e-06/0.4229, allocations: 1.531 kB / 375.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.423, allocations: 14.95 kB / 375.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.4231, allocations: 10.42 kB / 375.6 MB, free: 19.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.559e-05/0.4231, allocations: 111.8 kB / 375.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.4233, allocations: 7.281 kB / 375.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.4233, allocations: 11.09 kB / 375.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.679e-06/0.4233, allocations: 2.125 kB / 375.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.448e-06/0.4234, allocations: 5.984 kB / 375.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4234, allocations: 6.188 kB / 375.7 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.4238, allocations: 192.7 kB / 375.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4239, allocations: 1.469 kB / 375.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.424, allocations: 17.88 kB / 375.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.048e-06/0.424, allocations: 2.156 kB / 375.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.424, allocations: 1.641 kB / 375.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.386e-06/0.424, allocations: 2.609 kB / 375.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.578e-06/0.424, allocations: 2.156 kB / 375.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.4243, allocations: 0.51 MB / 376.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.4243, allocations: 85.45 kB / 376.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4244, allocations: 1.922 kB / 376.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.4247, allocations: 15.28 kB / 376.5 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.4248, allocations: 10.52 kB / 376.6 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4248, allocations: 2.969 kB / 376.6 MB, free: 18.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.856e-05/0.4248, allocations: 89.73 kB / 376.6 MB, free: 18.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4249, allocations: 0 / 376.6 MB, free: 18.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005324/0.4254, allocations: 12.38 kB / 376.7 MB, free: 18.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 9.492e-05/0.4255, allocations: 100 kB / 376.8 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.4257, allocations: 33.77 kB / 376.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.63e-06/0.4257, allocations: 0 / 376.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.4258, allocations: 26.31 kB / 376.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4262, allocations: 7.047 kB / 376.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.4266, allocations: 137 kB / 377 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.4268, allocations: 0.6931 MB / 377.6 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.391e-05/0.4268, allocations: 3.328 kB / 377.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.4269, allocations: 9.844 kB / 377.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.496e-06/0.4269, allocations: 0 / 377.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of Templates: time 0.002918/0.4298, allocations: 446.5 kB / 378.1 MB, free: 17.58 MB / 314.7 MB