Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.144/2.144, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.313e-05, allocations: 7.984 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.35 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6016, allocations: 79.37 MB / 414.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/0.602, allocations: 79.58 kB / 414.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03233/0.6344, allocations: 5.216 MB / 419.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6344, allocations: 0 / 419.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.6345, allocations: 4 kB / 419.5 MB, free: 10.25 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001134/0.6356, allocations: 473 kB / 419.9 MB, free: 9.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.6357, allocations: 8.031 kB / 419.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.6358, allocations: 52.23 kB / 420 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.6359, allocations: 23.72 kB / 420 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.6365, allocations: 246.2 kB / 420.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.6366, allocations: 14.25 kB / 420.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.6367, allocations: 19.3 kB / 420.3 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.6385, allocations: 0.5948 MB / 420.9 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6385, allocations: 4 kB / 420.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.6386, allocations: 3.875 kB / 420.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.6387, allocations: 27.91 kB / 420.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.6392, allocations: 163.1 kB / 421.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.6399, allocations: 371.4 kB / 421.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.6405, allocations: 224 kB / 421.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.6409, allocations: 146.4 kB / 421.8 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.641, allocations: 8.141 kB / 421.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.641, allocations: 39 kB / 421.8 MB, free: 8.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 5.52e-06/0.6411, allocations: 0 / 421.8 MB, free: 8.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0008647/0.6419, allocations: 300.7 kB / 422.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.6421, allocations: 139.5 kB / 422.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.6423, allocations: 143.8 kB / 422.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.6424, allocations: 36.27 kB / 422.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.6425, allocations: 99.41 kB / 422.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.6425, allocations: 50.02 kB / 422.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.6426, allocations: 10.5 kB / 422.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6428, allocations: 340 kB / 422.9 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.643, allocations: 66.73 kB / 423 MB, free: 6.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.6434, allocations: 305.4 kB / 423.3 MB, free: 6.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.6437, allocations: 132.9 kB / 423.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.6437, allocations: 4 kB / 423.4 MB, free: 6.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009284/0.6446, allocations: 362.8 kB / 423.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6447, allocations: 8 kB / 423.8 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6447, allocations: 8 kB / 423.8 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.6448, allocations: 12 kB / 423.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.6453, allocations: 86.95 kB / 423.9 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/0.6453, allocations: 15.94 kB / 423.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.6456, allocations: 31.09 kB / 423.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.6457, allocations: 26.88 kB / 424 MB, free: 5.996 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002042/0.6459, allocations: 145.6 kB / 424.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/0.6466, allocations: 286.2 kB / 424.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.6467, allocations: 32.47 kB / 424.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6468, allocations: 4 kB / 424.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6468, allocations: 0 / 424.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6468, allocations: 7.984 kB / 424.4 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.6471, allocations: 244.8 kB / 424.7 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6472, allocations: 4 kB / 424.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.6477, allocations: 71.83 kB / 424.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.6478, allocations: 0 / 424.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.6478, allocations: 11.56 kB / 424.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.6478, allocations: 4 kB / 424.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6478, allocations: 3.984 kB / 424.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.6487, allocations: 437.4 kB / 425.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.6489, allocations: 139.3 kB / 425.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.649, allocations: 19.19 kB / 425.3 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.6492, allocations: 15.55 kB / 425.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.6493, allocations: 0 / 425.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.6493, allocations: 19.25 kB / 425.4 MB, free: 4.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.6495, allocations: 121.8 kB / 425.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6495, allocations: 4 kB / 425.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005862/0.6501, allocations: 50.12 kB / 425.6 MB, free: 4.551 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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001639/0.6518, allocations: 1.291 MB / 426.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.6525, allocations: 254.8 kB / 427.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6525, allocations: 0 / 427.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.6526, allocations: 7.375 kB / 427.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/0.6534, allocations: 200.9 kB / 427.3 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.6554, allocations: 494.4 kB / 427.8 MB, free: 2.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.6558, allocations: 0.7838 MB / 428.6 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.656, allocations: 22.08 kB / 428.6 MB, free: 1.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.6561, allocations: 70.41 kB / 428.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6562, allocations: 3.938 kB / 428.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.6891, allocations: 4.644 MB / 433.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/0.6895, allocations: 178.6 kB / 433.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.433, allocations: 0 / 433.5 MB, free: 12.88 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat