Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.071/2.071, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.931e-05/4.959e-05, allocations: 7.984 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5429, allocations: 78.29 MB / 413.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5433, allocations: 83.81 kB / 413.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005394/0.5487, allocations: 1.226 MB / 414.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5487, allocations: 0 / 414.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.5487, allocations: 8 kB / 414.4 MB, free: 14.46 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.0005671/0.5493, allocations: 358.4 kB / 414.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5494, allocations: 12.02 kB / 414.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.5494, allocations: 38.31 kB / 414.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.5495, allocations: 3.906 kB / 414.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.5497, allocations: 182.9 kB / 415 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5498, allocations: 7.953 kB / 415 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.5498, allocations: 4 kB / 415 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.5502, allocations: 129.6 kB / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5502, allocations: 0 / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5502, allocations: 0 / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.5502, allocations: 4 kB / 415.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.5503, allocations: 23.38 kB / 415.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.5505, allocations: 165.5 kB / 415.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.5507, allocations: 126.9 kB / 415.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.5509, allocations: 28.19 kB / 415.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.5509, allocations: 0 / 415.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.551, allocations: 38.55 kB / 415.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.551, allocations: 4 kB / 415.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000205/0.5512, allocations: 61.17 kB / 415.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.5513, allocations: 55.39 kB / 415.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5514, allocations: 108.7 kB / 415.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5514, allocations: 29.64 kB / 415.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.5515, allocations: 150.6 kB / 415.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.5515, allocations: 0 / 415.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.5515, allocations: 3.875 kB / 415.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5517, allocations: 326.8 kB / 416.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.5517, allocations: 4 kB / 416.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.5518, allocations: 41.09 kB / 416.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.5519, allocations: 11.88 kB / 416.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5519, allocations: 4 kB / 416.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001479/0.552, allocations: 69.06 kB / 416.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5521, allocations: 11.94 kB / 416.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5521, allocations: 0 / 416.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5521, allocations: 4 kB / 416.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.5522, allocations: 8.188 kB / 416.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5522, allocations: 4 kB / 416.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.5523, allocations: 7.906 kB / 416.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5523, allocations: 0 / 416.4 MB, free: 12.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.354e-05/0.5524, allocations: 116.6 kB / 416.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5526, allocations: 57.44 kB / 416.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.5526, allocations: 16.45 kB / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5526, allocations: 4 kB / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5526, allocations: 0 / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5527, allocations: 0 / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.5528, allocations: 173.2 kB / 416.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5528, allocations: 0 / 416.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/0.5529, allocations: 8 kB / 416.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5529, allocations: 0 / 416.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.553, allocations: 3.984 kB / 416.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.553, allocations: 7.891 kB / 416.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.553, allocations: 3.984 kB / 416.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.5532, allocations: 88.03 kB / 416.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.5532, allocations: 84.98 kB / 416.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.5532, allocations: 0 / 416.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5534, allocations: 15.98 kB / 416.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-06/0.5534, allocations: 3.953 kB / 416.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5534, allocations: 0 / 416.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.552e-05/0.5535, allocations: 91.14 kB / 417 MB, free: 11.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5535, allocations: 0 / 417 MB, free: 11.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.5538, allocations: 8 kB / 417 MB, free: 11.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.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.0005499/0.5544, allocations: 0.6503 MB / 417.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.5545, allocations: 31.31 kB / 417.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5546, allocations: 0 / 417.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5546, allocations: 0 / 417.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.5549, allocations: 47.91 kB / 417.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.5554, allocations: 151.3 kB / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.5557, allocations: 0.6887 MB / 418.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.5557, allocations: 11.31 kB / 418.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5557, allocations: 0 / 418.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.343/2.899, allocations: 1.039 MB / 419.6 MB, free: 8.953 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat