Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.343e-05, allocations: 4 kB / 292.7 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.42 MB / 343.2 MB, free: 8.988 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5876, allocations: 81.68 MB / 424.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.588, allocations: 79.38 kB / 424.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03761/0.6256, allocations: 9.042 MB / 434 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6256, allocations: 0 / 434 MB, free: 5.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.6257, allocations: 11.47 kB / 434 MB, free: 5.316 MB / 330.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.0008182/0.6265, allocations: 0.5212 MB / 434.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6266, allocations: 7.406 kB / 434.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.6267, allocations: 45.61 kB / 434.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.6268, allocations: 34.56 kB / 434.6 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.6274, allocations: 310.6 kB / 434.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.6274, allocations: 7.438 kB / 434.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.6275, allocations: 11.06 kB / 434.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.6281, allocations: 314.2 kB / 435.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.6282, allocations: 3.953 kB / 435.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.6282, allocations: 6.969 kB / 435.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.6283, allocations: 0 / 435.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.6285, allocations: 66.3 kB / 435.3 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.6293, allocations: 434.9 kB / 435.7 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.6298, allocations: 197.4 kB / 435.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.63, allocations: 88.88 kB / 436 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.6301, allocations: 3.844 kB / 436 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.6304, allocations: 75.27 kB / 436.1 MB, free: 3.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 4.228e-06/0.6304, allocations: 4 kB / 436.1 MB, free: 3.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007897/0.6312, allocations: 201.6 kB / 436.3 MB, free: 3.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.6313, allocations: 164 kB / 436.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.6321, allocations: 317.1 kB / 436.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.6322, allocations: 32.92 kB / 436.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.6324, allocations: 135.3 kB / 436.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.6325, allocations: 34.27 kB / 436.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.6325, allocations: 3.25 kB / 436.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6326, allocations: 339.6 kB / 437.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.6328, allocations: 36.44 kB / 437.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.6331, allocations: 185.6 kB / 437.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.6334, allocations: 69.78 kB / 437.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6334, allocations: 4 kB / 437.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006991/0.6341, allocations: 223.3 kB / 437.8 MB, free: 2.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.6342, allocations: 8.219 kB / 437.8 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.6342, allocations: 7.844 kB / 437.8 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.6343, allocations: 3.969 kB / 437.8 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.6347, allocations: 38.7 kB / 437.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.6347, allocations: 15.67 kB / 437.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.635, allocations: 18.66 kB / 437.9 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.635, allocations: 10.56 kB / 437.9 MB, free: 2.641 MB / 330.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.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],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.0001461/0.6352, allocations: 134.5 kB / 438 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.6356, allocations: 150.8 kB / 438.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.6361, allocations: 124 kB / 438.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.6361, allocations: 3.719 kB / 438.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.6361, allocations: 8.094 kB / 438.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6362, allocations: 3.938 kB / 438.3 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.6366, allocations: 272.5 kB / 438.6 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6366, allocations: 3.844 kB / 438.6 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.637, allocations: 33.06 kB / 438.6 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.637, allocations: 7.766 kB / 438.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.637, allocations: 3.625 kB / 438.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.6371, allocations: 7.844 kB / 438.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6371, allocations: 0 / 438.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.6378, allocations: 270.2 kB / 438.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.6381, allocations: 130.8 kB / 439 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.6382, allocations: 15.44 kB / 439 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.6385, allocations: 7.562 kB / 439 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.6386, allocations: 15.45 kB / 439 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.6386, allocations: 7.656 kB / 439 MB, free: 1.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004935/0.6391, allocations: 247.1 kB / 439.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6392, allocations: 0 / 439.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000828/0.64, allocations: 69.34 kB / 439.4 MB, free: 1.738 MB / 330.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,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.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.003077/0.6431, allocations: 1.35 MB / 440.7 MB, free: 16.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.6439, allocations: 160 kB / 440.9 MB, free: 16.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6439, allocations: 0 / 440.9 MB, free: 16.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.644, allocations: 30.62 kB / 440.9 MB, free: 16.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/0.645, allocations: 114.4 kB / 441 MB, free: 16.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.6468, allocations: 439.6 kB / 441.4 MB, free: 16.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.6473, allocations: 0.7754 MB / 442.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.6475, allocations: 33.28 kB / 442.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.6477, allocations: 79.47 kB / 442.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.545e-06/0.6477, allocations: 0 / 442.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.6765, allocations: 5.772 MB / 448.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/0.677, allocations: 211.2 kB / 448.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.458, allocations: 0 / 448.3 MB, free: 12.68 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat does not exist to compare? outputFormat=mat