Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.241/2.241, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.212e-05, allocations: 0 / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 50.4 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/0.5975, allocations: 76.79 MB / 419.4 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5979, allocations: 81.44 kB / 419.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005395/0.6033, allocations: 1.302 MB / 420.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6034, allocations: 5 kB / 420.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.6034, allocations: 4 kB / 420.8 MB, free: 15.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003869/0.6038, allocations: 352.5 kB / 421.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.6038, allocations: 12.03 kB / 421.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.6039, allocations: 35 kB / 421.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.6039, allocations: 11.86 kB / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.6042, allocations: 190.3 kB / 421.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.6042, allocations: 4 kB / 421.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.6042, allocations: 11.12 kB / 421.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.6046, allocations: 127.7 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6046, allocations: 4 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6046, allocations: 7.266 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.6047, allocations: 0 / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.6047, allocations: 23.8 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.6049, allocations: 175.5 kB / 421.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.6051, allocations: 78.59 kB / 421.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.6053, allocations: 42.39 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.6053, allocations: 0 / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6053, allocations: 33.88 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.6054, allocations: 0 / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002258/0.6056, allocations: 83.7 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.6057, allocations: 62.67 kB / 422.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.6058, allocations: 132.9 kB / 422.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6059, allocations: 25.7 kB / 422.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.6059, allocations: 87.2 kB / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.6059, allocations: 7.734 kB / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.606, allocations: 0 / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6061, allocations: 321.7 kB / 422.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.6061, allocations: 7.625 kB / 422.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.6062, allocations: 62.8 kB / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.6063, allocations: 18.98 kB / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6063, allocations: 8 kB / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001786/0.6065, allocations: 80.72 kB / 422.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6065, allocations: 4 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6066, allocations: 4 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6066, allocations: 0 / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.6067, allocations: 19.98 kB / 422.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.6067, allocations: 4.312 kB / 422.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.6068, allocations: 22.73 kB / 422.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6068, allocations: 4 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.976e-05/0.6069, allocations: 114.8 kB / 423 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.6071, allocations: 79.66 kB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.6071, allocations: 11.73 kB / 423 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6072, allocations: 4 kB / 423.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6072, allocations: 0 / 423.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6072, allocations: 0 / 423.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.6073, allocations: 180.7 kB / 423.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6073, allocations: 0 / 423.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6075, allocations: 15.94 kB / 423.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6075, allocations: 0 / 423.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.6075, allocations: 0 / 423.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.6075, allocations: 4 kB / 423.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6075, allocations: 0 / 423.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.6077, allocations: 110 kB / 423.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.6078, allocations: 96.31 kB / 423.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.6079, allocations: 8 kB / 423.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.6079, allocations: 3.688 kB / 423.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-06/0.6079, allocations: 3.984 kB / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.6079, allocations: 0 / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.608, allocations: 109 kB / 423.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6081, allocations: 0 / 423.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.6083, allocations: 8 kB / 423.6 MB, free: 12.92 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006159/0.609, allocations: 0.6775 MB / 424.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.6091, allocations: 43.23 kB / 424.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6091, allocations: 3.938 kB / 424.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.6091, allocations: 4 kB / 424.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.6095, allocations: 46.45 kB / 424.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.61, allocations: 156.3 kB / 424.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.6103, allocations: 0.6965 MB / 425.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.6104, allocations: 12.66 kB / 425.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.6105, allocations: 18.19 kB / 425.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6105, allocations: 3.938 kB / 425.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.6335, allocations: 1.537 MB / 426.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.6339, allocations: 167.3 kB / 426.9 MB, free: 9.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.048, allocations: 0 / 426.9 MB, free: 9.555 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat