Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.638e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/0.6455, allocations: 81.88 MB / 424.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6459, allocations: 81.95 kB / 424.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04006/0.686, allocations: 8.826 MB / 433.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.686, allocations: 0 / 433.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.6861, allocations: 4 kB / 433.4 MB, free: 4.625 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008562/0.6869, allocations: 0.4891 MB / 433.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.687, allocations: 12.03 kB / 433.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.375e-05/0.6871, allocations: 47.95 kB / 434 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.6872, allocations: 35.61 kB / 434 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.6878, allocations: 269.5 kB / 434.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.6878, allocations: 13.12 kB / 434.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.6879, allocations: 11.06 kB / 434.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.6886, allocations: 287.3 kB / 434.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6886, allocations: 0 / 434.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.6886, allocations: 10.95 kB / 434.6 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.6887, allocations: 4 kB / 434.6 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.6889, allocations: 67.03 kB / 434.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.6896, allocations: 381.5 kB / 435 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.69, allocations: 174.4 kB / 435.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.6902, allocations: 79.19 kB / 435.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.6902, allocations: 11.62 kB / 435.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.6904, allocations: 77.58 kB / 435.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.015e-06/0.6905, allocations: 0 / 435.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005553/0.691, allocations: 175.8 kB / 435.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.6911, allocations: 143.4 kB / 435.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.6916, allocations: 244.3 kB / 435.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.6916, allocations: 33.33 kB / 436 MB, free: 2.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.6917, allocations: 115.7 kB / 436.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.6918, allocations: 30.33 kB / 436.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.6918, allocations: 3.5 kB / 436.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.692, allocations: 341.4 kB / 436.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.6921, allocations: 34.41 kB / 436.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6923, allocations: 163.8 kB / 436.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6925, allocations: 57.27 kB / 436.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6925, allocations: 7.953 kB / 436.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004772/0.693, allocations: 204.7 kB / 436.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.693, allocations: 4.531 kB / 436.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6931, allocations: 8 kB / 436.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6931, allocations: 8 kB / 436.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.6933, allocations: 31.3 kB / 436.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.6933, allocations: 11.92 kB / 437 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.6935, allocations: 11.44 kB / 437 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.6935, allocations: 12 kB / 437 MB, free: 1.184 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,sample1.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001305/0.6937, allocations: 129.2 kB / 437.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.694, allocations: 134.9 kB / 437.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.6943, allocations: 113.8 kB / 437.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6943, allocations: 4 kB / 437.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6943, allocations: 0 / 437.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.6943, allocations: 4 kB / 437.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.6947, allocations: 251.9 kB / 437.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6947, allocations: 3.938 kB / 437.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.6948, allocations: 11.95 kB / 437.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.6948, allocations: 4 kB / 437.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.6948, allocations: 3.75 kB / 437.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.6949, allocations: 11.98 kB / 437.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6949, allocations: 4 kB / 437.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.6954, allocations: 249.7 kB / 437.9 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.6956, allocations: 127.3 kB / 438 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.6956, allocations: 7.312 kB / 438 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6958, allocations: 11.56 kB / 438 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.6958, allocations: 7.984 kB / 438 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.6959, allocations: 7.938 kB / 438 MB, free: 148 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000303/0.6962, allocations: 191.2 kB / 438.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6962, allocations: 4 kB / 438.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000474/0.6967, allocations: 51.36 kB / 438.3 MB, free: 15.94 MB / 362.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: 20 ($whenCondition1,sample1.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00263/0.6993, allocations: 1.316 MB / 439.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007372/0.7001, allocations: 134.5 kB / 439.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7002, allocations: 1.062 kB / 439.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.7003, allocations: 30.94 kB / 439.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.7013, allocations: 102 kB / 439.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.703, allocations: 370.8 kB / 440.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.7036, allocations: 0.7627 MB / 441 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.7038, allocations: 26.45 kB / 441 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.7041, allocations: 70.78 kB / 441.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of SimCode: time 4.489e-06/0.7041, allocations: 0 / 441.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.7422, allocations: 4.986 MB / 446.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.7426, allocations: 215.3 kB / 446.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.377, allocations: 3.938 kB / 446.3 MB, free: 8.246 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat does not exist to compare? outputFormat=mat