Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.198/2.198, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.352e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4336/0.542, allocations: 76.5 MB / 419.2 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5424, allocations: 70.52 kB / 419.2 MB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004383/0.5468, allocations: 1.036 MB / 420.3 MB, free: 360 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5468, allocations: 0 / 420.3 MB, free: 360 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.5469, allocations: 3.938 kB / 420.3 MB, free: 356 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006139/0.5475, allocations: 339.1 kB / 420.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/0.5476, allocations: 12.69 kB / 420.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.5477, allocations: 38.17 kB / 420.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.5478, allocations: 12.77 kB / 420.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.5481, allocations: 185.5 kB / 420.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.5482, allocations: 3.938 kB / 420.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.5482, allocations: 4 kB / 420.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.5486, allocations: 77.64 kB / 420.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5486, allocations: 0 / 420.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.5486, allocations: 7.75 kB / 420.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.5487, allocations: 11.95 kB / 420.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.5487, allocations: 4 kB / 420.9 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.5493, allocations: 257.4 kB / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.5495, allocations: 37.16 kB / 421.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.5496, allocations: 17.53 kB / 421.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.5496, allocations: 4.062 kB / 421.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.5497, allocations: 30.56 kB / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.945e-06/0.5497, allocations: 0 / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002812/0.55, allocations: 49.31 kB / 421.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5501, allocations: 89.16 kB / 421.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.5504, allocations: 117.3 kB / 421.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.5504, allocations: 33.64 kB / 421.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.5505, allocations: 83.95 kB / 421.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.5505, allocations: 3.906 kB / 421.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.5505, allocations: 0 / 421.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5507, allocations: 314.8 kB / 422 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.5508, allocations: 3.875 kB / 422 MB, free: 14.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.5508, allocations: 21.7 kB / 422 MB, free: 14.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.5509, allocations: 3.938 kB / 422 MB, free: 14.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5509, allocations: 0 / 422 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001301/0.5511, allocations: 41.52 kB / 422 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5511, allocations: 4 kB / 422 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5511, allocations: 0 / 422 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5512, allocations: 7.953 kB / 422 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.241e-05/0.5512, allocations: 128 / 422 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5512, allocations: 4 kB / 422 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.5513, allocations: 3.984 kB / 422 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5514, allocations: 4 kB / 422 MB, free: 14.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001199/0.5515, allocations: 106.1 kB / 422.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.5517, allocations: 45.42 kB / 422.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.5517, allocations: 3.656 kB / 422.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.5517, allocations: 4 kB / 422.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.5518, allocations: 7.938 kB / 422.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5518, allocations: 8.016 kB / 422.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.5521, allocations: 161.4 kB / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5522, allocations: 0 / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.5522, allocations: 0 / 422.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.5522, allocations: 4 kB / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5522, allocations: 0 / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5523, allocations: 0 / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5523, allocations: 3.984 kB / 422.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5525, allocations: 157.8 kB / 422.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.5527, allocations: 92.94 kB / 422.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.5527, allocations: 0 / 422.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.5529, allocations: 4 kB / 422.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5529, allocations: 7.938 kB / 422.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.553, allocations: 0 / 422.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5531, allocations: 98.97 kB / 422.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5531, allocations: 4.031 kB / 422.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.5536, allocations: 4 kB / 422.7 MB, free: 13.59 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007114/0.5543, allocations: 0.7555 MB / 423.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5545, allocations: 23.2 kB / 423.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5545, allocations: 0 / 423.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.5546, allocations: 7.938 kB / 423.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.555, allocations: 15.69 kB / 423.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.5557, allocations: 125.4 kB / 423.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.5562, allocations: 0.6848 MB / 424.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.5563, allocations: 16.72 kB / 424.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.5563, allocations: 14.48 kB / 424.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5564, allocations: 0 / 424.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.5788, allocations: 1.105 MB / 425.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/0.5792, allocations: 176.5 kB / 425.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.961, allocations: 4 kB / 425.7 MB, free: 10.61 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat