Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.817e-05, allocations: 5.562 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5728, allocations: 77.73 MB / 420.9 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5732, allocations: 78 kB / 421 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.5936, allocations: 4.463 MB / 425.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5936, allocations: 0 / 425.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.5937, allocations: 4 kB / 425.4 MB, free: 12.73 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005978/0.5943, allocations: 397.8 kB / 425.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5943, allocations: 8.031 kB / 425.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.241e-05/0.5944, allocations: 46.27 kB / 425.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.5945, allocations: 19.81 kB / 425.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.5948, allocations: 214.3 kB / 426.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.5948, allocations: 11.31 kB / 426.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.5949, allocations: 4 kB / 426.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.5955, allocations: 254.9 kB / 426.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5956, allocations: 0 / 426.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.5956, allocations: 7.766 kB / 426.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5956, allocations: 7.984 kB / 426.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.5957, allocations: 39.56 kB / 426.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.5963, allocations: 305.7 kB / 426.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.5966, allocations: 126.7 kB / 426.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.5968, allocations: 73.47 kB / 426.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.5968, allocations: 8.141 kB / 426.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.5969, allocations: 34.66 kB / 427 MB, free: 11.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.244e-06/0.5969, allocations: 0 / 427 MB, free: 11.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003867/0.5973, allocations: 130.7 kB / 427.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5974, allocations: 117.7 kB / 427.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.5976, allocations: 140.2 kB / 427.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.5976, allocations: 28.77 kB / 427.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.5977, allocations: 90.95 kB / 427.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.5977, allocations: 15.02 kB / 427.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.5978, allocations: 7.562 kB / 427.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5979, allocations: 318.6 kB / 427.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.598, allocations: 24.12 kB / 427.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.5982, allocations: 125.2 kB / 427.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.5983, allocations: 50.36 kB / 428 MB, free: 10.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5983, allocations: 0 / 428 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000368/0.5987, allocations: 155 kB / 428.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.5987, allocations: 11.95 kB / 428.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5988, allocations: 4 kB / 428.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5988, allocations: 4 kB / 428.2 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.599, allocations: 31.92 kB / 428.2 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5991, allocations: 11.92 kB / 428.2 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5992, allocations: 15.97 kB / 428.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.5993, allocations: 19.69 kB / 428.2 MB, free: 9.867 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001241/0.5994, allocations: 120.3 kB / 428.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.5997, allocations: 113.9 kB / 428.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.5998, allocations: 23.33 kB / 428.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5998, allocations: 4 kB / 428.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5998, allocations: 0 / 428.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5998, allocations: 3.984 kB / 428.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.6002, allocations: 196.1 kB / 428.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6002, allocations: 0 / 428.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.6006, allocations: 35.91 kB / 428.7 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.6006, allocations: 0 / 428.7 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.6007, allocations: 4 kB / 428.7 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.6007, allocations: 4.688 kB / 428.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6007, allocations: 0 / 428.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.6013, allocations: 261.2 kB / 429 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.6015, allocations: 110.9 kB / 429.1 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.6015, allocations: 6.625 kB / 429.1 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.6018, allocations: 11.3 kB / 429.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.6018, allocations: 0 / 429.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.6019, allocations: 4 kB / 429.1 MB, free: 8.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.6021, allocations: 119.6 kB / 429.2 MB, free: 8.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.6021, allocations: 0 / 429.2 MB, free: 8.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006887/0.6028, allocations: 26.31 kB / 429.3 MB, free: 8.836 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 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001308/0.6041, allocations: 0.9926 MB / 430.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.6045, allocations: 88.78 kB / 430.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6046, allocations: 0 / 430.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.6046, allocations: 4 kB / 430.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.6053, allocations: 70.48 kB / 430.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.6066, allocations: 232.5 kB / 430.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.6071, allocations: 0.7275 MB / 431.4 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.6072, allocations: 9.203 kB / 431.4 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6074, allocations: 34.67 kB / 431.4 MB, free: 6.711 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6074, allocations: 0 / 431.4 MB, free: 6.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.635, allocations: 2.385 MB / 433.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.6353, allocations: 165.3 kB / 434 MB, free: 4.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3, allocations: 3.938 kB / 434 MB, free: 4.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat