Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.045/2.045, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.346e-05, allocations: 0 / 284.4 MB, free: 8.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 50.37 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5499, allocations: 77.89 MB / 412.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/0.5503, allocations: 75.64 kB / 412.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005053/0.5554, allocations: 1.173 MB / 413.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5555, allocations: 4 kB / 413.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.5555, allocations: 4 kB / 413.9 MB, free: 14.89 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.0004436/0.5559, allocations: 359.3 kB / 414.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.556, allocations: 8.031 kB / 414.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.556, allocations: 30.56 kB / 414.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.5561, allocations: 11.84 kB / 414.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.5563, allocations: 190.3 kB / 414.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.5564, allocations: 10.88 kB / 414.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.5564, allocations: 4 kB / 414.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.5567, allocations: 118.1 kB / 414.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5567, allocations: 0 / 414.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5568, allocations: 0 / 414.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5568, allocations: 0 / 414.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.5569, allocations: 22.56 kB / 414.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.5574, allocations: 367.8 kB / 415 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.5575, allocations: 70.34 kB / 415.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.5576, allocations: 27.02 kB / 415.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.5576, allocations: 0 / 415.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5576, allocations: 34.5 kB / 415.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5577, allocations: 0 / 415.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.5579, allocations: 67.73 kB / 415.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.558, allocations: 113.2 kB / 415.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5581, allocations: 127.9 kB / 415.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5582, allocations: 25.7 kB / 415.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.5583, allocations: 153.8 kB / 415.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.5583, allocations: 3.906 kB / 415.6 MB, free: 13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5583, allocations: 0 / 415.6 MB, free: 13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5584, allocations: 326.3 kB / 415.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.5585, allocations: 8 kB / 415.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/0.5585, allocations: 26.62 kB / 416 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.5586, allocations: 15.3 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5586, allocations: 0 / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.5588, allocations: 60.88 kB / 416 MB, free: 12.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5588, allocations: 7.938 kB / 416 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5588, allocations: 0 / 416 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5588, allocations: 7.938 kB / 416.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.038e-05/0.5589, allocations: 3.312 kB / 416.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5589, allocations: 4 kB / 416.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.559, allocations: 0 / 416.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.559, allocations: 7.984 kB / 416.1 MB, free: 12.54 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 9.831e-05/0.5591, allocations: 116.8 kB / 416.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5592, allocations: 48.84 kB / 416.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.5593, allocations: 15.28 kB / 416.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5593, allocations: 0 / 416.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5593, allocations: 0 / 416.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5593, allocations: 0 / 416.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.5597, allocations: 179.9 kB / 416.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5597, allocations: 4 kB / 416.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.5598, allocations: 3.984 kB / 416.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5598, allocations: 0 / 416.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5598, allocations: 12.03 kB / 416.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5598, allocations: 0 / 416.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5599, allocations: 0 / 416.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.5601, allocations: 264.6 kB / 416.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.5602, allocations: 97.03 kB / 416.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.5602, allocations: 3.984 kB / 416.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5604, allocations: 6.625 kB / 416.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.5605, allocations: 7.938 kB / 416.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5605, allocations: 0 / 416.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.473e-05/0.5606, allocations: 107.6 kB / 416.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5606, allocations: 4 kB / 416.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.561, allocations: 4 kB / 416.9 MB, free: 11.61 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.0006116/0.5616, allocations: 0.9327 MB / 417.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.5618, allocations: 34.67 kB / 417.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5618, allocations: 0 / 417.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.5618, allocations: 4 kB / 417.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.5622, allocations: 33.52 kB / 417.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.5629, allocations: 191.9 kB / 418.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.5632, allocations: 0.7009 MB / 418.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.5633, allocations: 14.75 kB / 418.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5633, allocations: 0 / 418.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.416/2.979, allocations: 1.108 MB / 419.9 MB, free: 8.531 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat