Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.503/2.503, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.337e-05, allocations: 4.344 kB / 249.7 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 44.52 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.5842, allocations: 71.02 MB / 365.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5845, allocations: 66.2 kB / 365.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006945/0.5915, allocations: 1.432 MB / 366.8 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5915, allocations: 0 / 366.8 MB, free: 22.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.5915, allocations: 0 / 366.8 MB, free: 22.79 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.0005102/0.5921, allocations: 362.5 kB / 367.1 MB, free: 22.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.5921, allocations: 15.53 kB / 367.1 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.5922, allocations: 39.5 kB / 367.2 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.5922, allocations: 7.781 kB / 367.2 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5924, allocations: 177.8 kB / 367.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.5924, allocations: 3.875 kB / 367.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.5924, allocations: 3.875 kB / 367.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001392/0.5926, allocations: 24.34 kB / 367.4 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.5928, allocations: 100.7 kB / 367.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5928, allocations: 0 / 367.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.5929, allocations: 0 / 367.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5929, allocations: 3.875 kB / 367.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.5936, allocations: 0.6055 MB / 368.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.5938, allocations: 105 kB / 368.2 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.5939, allocations: 39.39 kB / 368.2 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.5939, allocations: 7.875 kB / 368.2 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5939, allocations: 39.94 kB / 368.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.594, allocations: 0 / 368.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000368/0.5943, allocations: 71.02 kB / 368.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.5944, allocations: 159.6 kB / 368.5 MB, free: 21.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.5945, allocations: 105.3 kB / 368.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5945, allocations: 25.7 kB / 368.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.5946, allocations: 101.1 kB / 368.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.5947, allocations: 16.66 kB / 368.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.5947, allocations: 0 / 368.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5949, allocations: 316.1 kB / 369.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.5949, allocations: 3.875 kB / 369.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.595, allocations: 40.06 kB / 369.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.595, allocations: 16.31 kB / 369.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5951, allocations: 0 / 369.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001942/0.5953, allocations: 71.56 kB / 369.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5953, allocations: 7.719 kB / 369.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5953, allocations: 2.25 kB / 369.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5954, allocations: 4.031 kB / 369.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5956, allocations: 18.23 kB / 369.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5956, allocations: 3.953 kB / 369.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.5958, allocations: 14.33 kB / 369.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.5958, allocations: 3.906 kB / 369.2 MB, free: 20.44 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 0.0001105/0.5959, allocations: 111.8 kB / 369.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.5961, allocations: 7.75 kB / 369.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.5961, allocations: 21.38 kB / 369.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5961, allocations: 3.938 kB / 369.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5961, allocations: 3.906 kB / 369.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5962, allocations: 3.953 kB / 369.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.5967, allocations: 156.3 kB / 369.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5967, allocations: 3.875 kB / 369.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5969, allocations: 10.19 kB / 369.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5969, allocations: 4 kB / 369.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5969, allocations: 6.391 kB / 369.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.5969, allocations: 3.875 kB / 369.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5969, allocations: 7.938 kB / 369.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.5974, allocations: 0.5086 MB / 370.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.5974, allocations: 84.88 kB / 370.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.5975, allocations: 1.875 kB / 370.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.5979, allocations: 9.656 kB / 370.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.598, allocations: 13.03 kB / 370.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.598, allocations: 3.812 kB / 370.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.5981, allocations: 95.28 kB / 370.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5981, allocations: 0 / 370.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006152/0.5987, allocations: 7.844 kB / 370.3 MB, free: 19.45 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 0.0008469/0.5996, allocations: 1.313 MB / 371.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.5998, allocations: 32.48 kB / 371.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5998, allocations: 320 / 371.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.5999, allocations: 22.69 kB / 371.7 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.6003, allocations: 10.95 kB / 371.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.6012, allocations: 148.5 kB / 371.8 MB, free: 17.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.6016, allocations: 0.7036 MB / 372.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.6017, allocations: 0 / 372.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.6018, allocations: 25.16 kB / 372.6 MB, free: 17.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6018, allocations: 0 / 372.6 MB, free: 17.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.6492, allocations: 1.068 MB / 373.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000355/0.6497, allocations: 129.5 kB / 373.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.005/3.654, allocations: 0 / 373.7 MB, free: 17.02 MB / 314.7 MB "" Variables in the reference:time,controlBus.realSignal1,controlBus.integerSignal,controlBus.booleanSignal,controlBus.subControlBus.myRealSignal,controlBus.subControlBus.myBooleanSignal Variables in the result:booleanStep.startTime,booleanStep.startValue,booleanStep.y,controlBus.booleanSignal,controlBus.integerSignal,controlBus.realSignal1,controlBus.subControlBus.myBooleanSignal,controlBus.subControlBus.myRealSignal,gain.k,gain.u,gain.y,integerStep.height,integerStep.offset,integerStep.startTime,integerStep.y,part.booleanExpression.y,part.realExpression.y,part.subControlBus.myBooleanSignal,part.subControlBus.myRealSignal,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time