Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.758e-05/4.751e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.595, allocations: 81.34 MB / 424 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004744/0.5956, allocations: 79.89 kB / 424.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03233/0.6279, allocations: 6.071 MB / 430.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.628, allocations: 0 / 430.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.081e-05/0.628, allocations: 8 kB / 430.1 MB, free: 7.414 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008167/0.6288, allocations: 0.4922 MB / 430.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6289, allocations: 8.031 kB / 430.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.629, allocations: 46.3 kB / 430.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.6291, allocations: 23.72 kB / 430.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.6297, allocations: 288.6 kB / 431 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6297, allocations: 7.688 kB / 431 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.6298, allocations: 7.984 kB / 431 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.6302, allocations: 151.7 kB / 431.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6302, allocations: 0 / 431.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.6302, allocations: 6.391 kB / 431.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6303, allocations: 4 kB / 431.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.6304, allocations: 41.36 kB / 431.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.6312, allocations: 386.9 kB / 431.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.6315, allocations: 120.5 kB / 431.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.6316, allocations: 41.02 kB / 431.7 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.6317, allocations: 12.05 kB / 431.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.6319, allocations: 78.27 kB / 431.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.746e-06/0.6319, allocations: 4 kB / 431.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004114/0.6323, allocations: 119.3 kB / 431.9 MB, free: 5.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6325, allocations: 166 kB / 432.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.633, allocations: 297.5 kB / 432.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.6331, allocations: 25.7 kB / 432.4 MB, free: 5.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6332, allocations: 128.8 kB / 432.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.6332, allocations: 15.75 kB / 432.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.6332, allocations: 4 kB / 432.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6334, allocations: 337.4 kB / 432.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.6335, allocations: 18.75 kB / 432.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.6337, allocations: 92.41 kB / 433 MB, free: 4.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.6338, allocations: 34.8 kB / 433 MB, free: 4.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6338, allocations: 0 / 433 MB, free: 4.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003154/0.6341, allocations: 119.2 kB / 433.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6342, allocations: 4 kB / 433.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6342, allocations: 4 kB / 433.2 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6342, allocations: 4.125 kB / 433.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.6344, allocations: 23.92 kB / 433.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6345, allocations: 0 / 433.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.6346, allocations: 11.09 kB / 433.2 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.6346, allocations: 4 kB / 433.2 MB, free: 4.352 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001193/0.6348, allocations: 116.1 kB / 433.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.6349, allocations: 69.14 kB / 433.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.6353, allocations: 120.2 kB / 433.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6353, allocations: 0 / 433.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6353, allocations: 0 / 433.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6353, allocations: 3.984 kB / 433.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.6357, allocations: 257.1 kB / 433.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6357, allocations: 0 / 433.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.6358, allocations: 23.86 kB / 433.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6359, allocations: 0 / 433.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.6359, allocations: 7.953 kB / 433.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6359, allocations: 128 / 433.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6359, allocations: 4 kB / 433.8 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.6363, allocations: 195.6 kB / 434 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6365, allocations: 123.5 kB / 434.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.6366, allocations: 0 / 434.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.6367, allocations: 10.88 kB / 434.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.6368, allocations: 7.984 kB / 434.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.6368, allocations: 11.3 kB / 434.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003868/0.6372, allocations: 236.3 kB / 434.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6372, allocations: 0 / 434.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004532/0.6377, allocations: 53.91 kB / 434.4 MB, free: 3.164 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 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001967/0.6397, allocations: 1.188 MB / 435.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.6401, allocations: 77.09 kB / 435.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6401, allocations: 0 / 435.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.6402, allocations: 33.86 kB / 435.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.6408, allocations: 51.5 kB / 435.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6419, allocations: 361.8 kB / 436.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.6423, allocations: 0.743 MB / 436.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.6425, allocations: 25.31 kB / 436.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6427, allocations: 63.17 kB / 437 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6427, allocations: 0 / 437 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.6742, allocations: 4.737 MB / 441.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003338/0.6746, allocations: 224.7 kB / 441.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.321, allocations: 0 / 441.9 MB, free: 11.91 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat