Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.146/2.146, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.323e-05/4.35e-05, allocations: 11.98 kB / 284.4 MB, free: 8.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 50.35 MB / 334.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5358, allocations: 77.97 MB / 412.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5362, allocations: 76.64 kB / 412.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003846/0.54, allocations: 1.066 MB / 413.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5401, allocations: 3.938 kB / 413.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.5401, allocations: 0 / 413.9 MB, free: 14.91 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.0004002/0.5405, allocations: 337.6 kB / 414.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5406, allocations: 12.03 kB / 414.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.5406, allocations: 37.88 kB / 414.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.5407, allocations: 11.91 kB / 414.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.5409, allocations: 190.4 kB / 414.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.541, allocations: 3.953 kB / 414.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.541, allocations: 11.61 kB / 414.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.5413, allocations: 101.7 kB / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5413, allocations: 0 / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5413, allocations: 5.25 kB / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5414, allocations: 3.938 kB / 414.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.5414, allocations: 6.312 kB / 414.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.5418, allocations: 271.6 kB / 414.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.542, allocations: 130.3 kB / 415 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.5421, allocations: 24.59 kB / 415 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.5421, allocations: 0 / 415 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5421, allocations: 38.5 kB / 415 MB, free: 13.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.5422, allocations: 4 kB / 415 MB, free: 13.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.5424, allocations: 49.31 kB / 415.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.5424, allocations: 88.67 kB / 415.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.5426, allocations: 121.9 kB / 415.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5426, allocations: 25.7 kB / 415.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.5427, allocations: 153.9 kB / 415.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.5427, allocations: 7.891 kB / 415.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.5427, allocations: 0 / 415.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5429, allocations: 318.4 kB / 415.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.5429, allocations: 4 kB / 415.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.543, allocations: 26.62 kB / 415.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.543, allocations: 7.953 kB / 415.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.543, allocations: 8 kB / 415.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000106/0.5431, allocations: 49 kB / 415.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5432, allocations: 8 kB / 415.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5432, allocations: 0 / 415.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5432, allocations: 0 / 415.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.5432, allocations: 7.938 kB / 415.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5433, allocations: 0 / 415.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.5433, allocations: 11.48 kB / 415.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5434, allocations: 3.938 kB / 415.9 MB, free: 12.68 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,sample.y,assignClock.y,assignClock.u) * 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 8.295e-05/0.5434, allocations: 118 kB / 416 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.5435, allocations: 40.95 kB / 416.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.5436, allocations: 10.39 kB / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.5436, allocations: 4 kB / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5436, allocations: 0 / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5437, allocations: 0 / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.5439, allocations: 164.3 kB / 416.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5439, allocations: 3.953 kB / 416.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.5439, allocations: 7.188 kB / 416.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.5439, allocations: 7.938 kB / 416.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.544, allocations: 0 / 416.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.544, allocations: 0 / 416.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.544, allocations: 192 / 416.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.5442, allocations: 172.6 kB / 416.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.5443, allocations: 95.88 kB / 416.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.5443, allocations: 4 kB / 416.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.5444, allocations: 11.12 kB / 416.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5444, allocations: 3.984 kB / 416.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.5445, allocations: 0 / 416.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.994e-05/0.5446, allocations: 100.8 kB / 416.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5446, allocations: 0 / 416.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.5449, allocations: 4 kB / 416.6 MB, free: 11.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * 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.0005261/0.5454, allocations: 0.7762 MB / 417.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.5456, allocations: 19.44 kB / 417.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5456, allocations: 0 / 417.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.5456, allocations: 0 / 417.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.5459, allocations: 19.64 kB / 417.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.5465, allocations: 164.2 kB / 417.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5468, allocations: 0.6887 MB / 418.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.5468, allocations: 14.8 kB / 418.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5468, allocations: 0 / 418.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.317/2.864, allocations: 0.9319 MB / 419.3 MB, free: 9.191 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat