Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.318e-05, allocations: 4 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.566, allocations: 76.57 MB / 419.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5663, allocations: 75.64 kB / 419.8 MB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004791/0.5711, allocations: 1.216 MB / 421 MB, free: 92 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5712, allocations: 3.938 kB / 421 MB, free: 88 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.5712, allocations: 0 / 421 MB, free: 88 kB / 330.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.0004732/0.5717, allocations: 353.6 kB / 421.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5718, allocations: 8.031 kB / 421.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.5718, allocations: 34.56 kB / 421.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.5719, allocations: 15.86 kB / 421.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.5721, allocations: 191.5 kB / 421.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.5722, allocations: 7.5 kB / 421.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.5722, allocations: 0 / 421.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.5725, allocations: 114.9 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5726, allocations: 0 / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5726, allocations: 0 / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5726, allocations: 11.95 kB / 421.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.5727, allocations: 19.36 kB / 421.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.5732, allocations: 366.7 kB / 422.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5734, allocations: 62.86 kB / 422.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.5734, allocations: 29.61 kB / 422.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.5735, allocations: 0 / 422.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.5735, allocations: 42.5 kB / 422.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.5736, allocations: 4 kB / 422.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002529/0.5738, allocations: 64.22 kB / 422.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.5739, allocations: 102.8 kB / 422.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.5741, allocations: 133.7 kB / 422.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5741, allocations: 25.7 kB / 422.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.5742, allocations: 91.48 kB / 422.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.5742, allocations: 0 / 422.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.5742, allocations: 6.719 kB / 422.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5744, allocations: 310.8 kB / 423 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/0.5744, allocations: 18.67 kB / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.5745, allocations: 30.73 kB / 423 MB, free: 13.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.5746, allocations: 19.73 kB / 423 MB, free: 13.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5746, allocations: 0 / 423 MB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001516/0.5747, allocations: 60.97 kB / 423.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5748, allocations: 4 kB / 423.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5748, allocations: 3.938 kB / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5748, allocations: 7.953 kB / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.47e-05/0.5749, allocations: 3.812 kB / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.5749, allocations: 4 kB / 423.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.575, allocations: 4.125 kB / 423.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.575, allocations: 4 kB / 423.1 MB, free: 13.79 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001043/0.5751, allocations: 108.9 kB / 423.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5752, allocations: 48.34 kB / 423.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.5753, allocations: 15.52 kB / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5753, allocations: 3.953 kB / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5753, allocations: 0 / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5754, allocations: 4 kB / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.5757, allocations: 167.8 kB / 423.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5757, allocations: 8.031 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.5757, allocations: 0 / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5757, allocations: 0 / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.5758, allocations: 4 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.5758, allocations: 3.984 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.5758, allocations: 7.891 kB / 423.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.5761, allocations: 262.6 kB / 423.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.5762, allocations: 88.16 kB / 423.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.5762, allocations: 11.89 kB / 423.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.5764, allocations: 7.984 kB / 423.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.5764, allocations: 4 kB / 423.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.5765, allocations: 3.312 kB / 423.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.5766, allocations: 113.2 kB / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5766, allocations: 0 / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.577, allocations: 4 kB / 424 MB, free: 12.87 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006915/0.5777, allocations: 0.9384 MB / 424.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.5778, allocations: 31.11 kB / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5778, allocations: 0 / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.5779, allocations: 8 kB / 425 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.5783, allocations: 26.64 kB / 425 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.579, allocations: 161.7 kB / 425.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5794, allocations: 0.7004 MB / 425.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.5794, allocations: 4.188 kB / 425.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.5795, allocations: 22.11 kB / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5795, allocations: 0 / 425.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.6018, allocations: 1.411 MB / 427.3 MB, free: 9.602 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/0.6021, allocations: 194.4 kB / 427.5 MB, free: 9.367 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.001, allocations: 0 / 427.5 MB, free: 9.367 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat