Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.672e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 50.41 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5002/0.6142, allocations: 76.56 MB / 419.2 MB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.6146, allocations: 78.77 kB / 419.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004446/0.619, allocations: 1.22 MB / 420.5 MB, free: 108 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.6191, allocations: 3.938 kB / 420.5 MB, free: 104 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.6191, allocations: 0 / 420.5 MB, free: 104 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004251/0.6195, allocations: 349.4 kB / 420.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6196, allocations: 8.031 kB / 420.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.6197, allocations: 41.92 kB / 420.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.6197, allocations: 11.86 kB / 420.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.6199, allocations: 186.1 kB / 421.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.62, allocations: 8 kB / 421.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.62, allocations: 0 / 421.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.6203, allocations: 117.5 kB / 421.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6203, allocations: 0 / 421.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6204, allocations: 7.422 kB / 421.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.6204, allocations: 7.953 kB / 421.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.6205, allocations: 15.25 kB / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.621, allocations: 363.3 kB / 421.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.6211, allocations: 62.53 kB / 421.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.6211, allocations: 31.36 kB / 421.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.6212, allocations: 3.938 kB / 421.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.6212, allocations: 38.52 kB / 421.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.325e-06/0.6212, allocations: 0 / 421.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002506/0.6215, allocations: 68.78 kB / 421.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.6216, allocations: 110.7 kB / 421.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.6217, allocations: 125.5 kB / 422 MB, free: 14.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.6218, allocations: 25.7 kB / 422.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.6218, allocations: 95.67 kB / 422.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.6219, allocations: 3.984 kB / 422.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.6219, allocations: 0 / 422.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.622, allocations: 318.8 kB / 422.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.622, allocations: 8 kB / 422.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.6221, allocations: 35.23 kB / 422.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.6221, allocations: 11.94 kB / 422.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6222, allocations: 4 kB / 422.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.6223, allocations: 61.22 kB / 422.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.6224, allocations: 4 kB / 422.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6224, allocations: 3.938 kB / 422.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.6224, allocations: 7.953 kB / 422.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-05/0.6224, allocations: 4 kB / 422.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.6225, allocations: 7.984 kB / 422.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.6226, allocations: 0 / 422.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.6226, allocations: 8.125 kB / 422.6 MB, free: 13.8 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.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.795e-05/0.6227, allocations: 112.6 kB / 422.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6228, allocations: 49.22 kB / 422.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.6229, allocations: 11.22 kB / 422.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6229, allocations: 3.953 kB / 422.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6229, allocations: 0 / 422.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6229, allocations: 4 kB / 422.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.6232, allocations: 169 kB / 423 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6233, allocations: 8.031 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.6233, allocations: 0 / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6233, allocations: 0 / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6233, allocations: 4 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.6233, allocations: 0 / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6233, allocations: 3.953 kB / 423 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.6236, allocations: 272.4 kB / 423.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.6237, allocations: 88.22 kB / 423.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.6237, allocations: 3.953 kB / 423.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.6239, allocations: 4 kB / 423.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.6239, allocations: 7.984 kB / 423.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.624, allocations: 0 / 423.3 MB, free: 13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.6241, allocations: 117.2 kB / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6241, allocations: 4 kB / 423.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.6244, allocations: 4 kB / 423.5 MB, free: 12.89 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 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.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.0005815/0.625, allocations: 0.9374 MB / 424.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.6252, allocations: 23.31 kB / 424.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6252, allocations: 0 / 424.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.6252, allocations: 11.19 kB / 424.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.6256, allocations: 23.45 kB / 424.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.6262, allocations: 164.3 kB / 424.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.6266, allocations: 0.7002 MB / 425.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.6266, allocations: 12.16 kB / 425.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.6267, allocations: 15.12 kB / 425.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6267, allocations: 3.938 kB / 425.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.6502, allocations: 1.418 MB / 426.8 MB, free: 9.617 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/0.6506, allocations: 192.5 kB / 427 MB, free: 9.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.023, allocations: 4 kB / 427 MB, free: 9.387 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat