Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.576/2.576, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.198e-05/4.212e-05, allocations: 4 kB / 284.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 50.36 MB / 334.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.547, allocations: 77.82 MB / 412.6 MB, free: 100 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.5474, allocations: 76.38 kB / 412.7 MB, free: 56 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004643/0.552, allocations: 1.182 MB / 413.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5521, allocations: 4 kB / 413.9 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.5521, allocations: 4 kB / 413.9 MB, free: 15 MB / 346.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.00043/0.5526, allocations: 346.3 kB / 414.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5526, allocations: 8.031 kB / 414.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.5527, allocations: 34.56 kB / 414.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.5527, allocations: 11.89 kB / 414.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.553, allocations: 194.1 kB / 414.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.553, allocations: 7.453 kB / 414.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.5531, allocations: 8 kB / 414.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.5534, allocations: 114.9 kB / 414.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5534, allocations: 0 / 414.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5534, allocations: 4 kB / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5535, allocations: 0 / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.5535, allocations: 23.3 kB / 414.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.5541, allocations: 362 kB / 415 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5542, allocations: 63.67 kB / 415 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.5543, allocations: 31.56 kB / 415.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.5543, allocations: 4 kB / 415.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5544, allocations: 37.69 kB / 415.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.5544, allocations: 0 / 415.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002572/0.5547, allocations: 61.44 kB / 415.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.5548, allocations: 114.6 kB / 415.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.5549, allocations: 126 kB / 415.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.555, allocations: 29.64 kB / 415.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.555, allocations: 87.33 kB / 415.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.5551, allocations: 3.906 kB / 415.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.5551, allocations: 3.938 kB / 415.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5552, allocations: 322.8 kB / 415.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.5553, allocations: 11.94 kB / 415.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.5553, allocations: 27.38 kB / 415.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.5554, allocations: 11.98 kB / 415.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5554, allocations: 0 / 415.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001574/0.5556, allocations: 64.12 kB / 416 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5556, allocations: 7.938 kB / 416 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5556, allocations: 4 kB / 416 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5557, allocations: 0 / 416 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.819e-05/0.5557, allocations: 7.938 kB / 416 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5557, allocations: 0 / 416 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.5558, allocations: 7.984 kB / 416 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.5558, allocations: 0 / 416 MB, free: 12.71 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 (sample.u[1],sample.u[2],sample.y[2],sample.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.0001132/0.556, allocations: 120.4 kB / 416.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.5561, allocations: 49.22 kB / 416.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.5562, allocations: 7.656 kB / 416.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5562, allocations: 0 / 416.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5562, allocations: 4 kB / 416.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5562, allocations: 0 / 416.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.5565, allocations: 176.5 kB / 416.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.5565, allocations: 3.984 kB / 416.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.5566, allocations: 7.938 kB / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.5566, allocations: 8.031 kB / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5566, allocations: 0 / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.5566, allocations: 0 / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5566, allocations: 0 / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.5569, allocations: 271 kB / 416.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.557, allocations: 92.31 kB / 416.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.557, allocations: 4 kB / 416.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5572, allocations: 0 / 416.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.5572, allocations: 7.938 kB / 416.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5572, allocations: 0 / 416.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.953e-05/0.5574, allocations: 112.7 kB / 416.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5574, allocations: 0 / 416.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000356/0.5577, allocations: 4 kB / 416.8 MB, free: 11.79 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 (sample.u[1],sample.u[2],sample.y[1],sample.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.0006013/0.5583, allocations: 0.9332 MB / 417.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.5585, allocations: 39.22 kB / 417.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5585, allocations: 0 / 417.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.5586, allocations: 11.94 kB / 417.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.559, allocations: 31.02 kB / 417.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.5597, allocations: 167.2 kB / 418 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.56, allocations: 0.7009 MB / 418.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.5601, allocations: 8.172 kB / 418.7 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.5602, allocations: 14.56 kB / 418.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5602, allocations: 0 / 418.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.5828, allocations: 1.42 MB / 420.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/0.5832, allocations: 195.8 kB / 420.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.867, allocations: 3.438 kB / 420.3 MB, free: 8.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat