Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.307/2.307, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.809e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5243/0.6769, allocations: 82 MB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.6772, allocations: 78.02 kB / 416.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03427/0.7115, allocations: 5.897 MB / 422.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7116, allocations: 0 / 422.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.334e-05/0.7117, allocations: 4 kB / 422.8 MB, free: 6.941 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.001125/0.7128, allocations: 0.4946 MB / 423.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.7129, allocations: 8.031 kB / 423.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.713, allocations: 34.06 kB / 423.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.7132, allocations: 27.72 kB / 423.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.7142, allocations: 298.8 kB / 423.6 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.7143, allocations: 4 kB / 423.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.7143, allocations: 7.625 kB / 423.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.7149, allocations: 159.2 kB / 423.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.715, allocations: 4 kB / 423.8 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.715, allocations: 0 / 423.8 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.7151, allocations: 0 / 423.8 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.7153, allocations: 38.73 kB / 423.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.7165, allocations: 406.9 kB / 424.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.7169, allocations: 110.6 kB / 424.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.7171, allocations: 45.25 kB / 424.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.7172, allocations: 0 / 424.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.7175, allocations: 77.83 kB / 424.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.298e-06/0.7176, allocations: 0 / 424.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006558/0.7182, allocations: 131.4 kB / 424.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.7184, allocations: 154.2 kB / 424.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/0.7193, allocations: 297.2 kB / 425 MB, free: 4.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.7194, allocations: 25.7 kB / 425.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.7195, allocations: 130.7 kB / 425.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.7196, allocations: 22.92 kB / 425.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.7197, allocations: 0 / 425.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.7199, allocations: 336.7 kB / 425.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.7201, allocations: 26.61 kB / 425.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.7203, allocations: 87.73 kB / 425.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.7205, allocations: 34.55 kB / 425.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.7205, allocations: 0 / 425.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005214/0.7211, allocations: 118.1 kB / 425.8 MB, free: 3.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.7211, allocations: 8 kB / 425.8 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7212, allocations: 0 / 425.8 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.7212, allocations: 0 / 425.8 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.7215, allocations: 23.92 kB / 425.8 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.7216, allocations: 8.125 kB / 425.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.7218, allocations: 4.125 kB / 425.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.7219, allocations: 11.98 kB / 425.8 MB, free: 3.863 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,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample.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.0001963/0.7221, allocations: 123.4 kB / 426 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.7223, allocations: 64.98 kB / 426 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/0.7229, allocations: 121.9 kB / 426.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7229, allocations: 64 / 426.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.723, allocations: 8 kB / 426.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.723, allocations: 0 / 426.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.7235, allocations: 248 kB / 426.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.7235, allocations: 7.938 kB / 426.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.7238, allocations: 19.25 kB / 426.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.7238, allocations: 4 kB / 426.4 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.7238, allocations: 0 / 426.4 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.7239, allocations: 3.984 kB / 426.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.7239, allocations: 4 kB / 426.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.7245, allocations: 185.8 kB / 426.6 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.7248, allocations: 123.2 kB / 426.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.7249, allocations: 11.17 kB / 426.8 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.7251, allocations: 4 kB / 426.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.7252, allocations: 15.11 kB / 426.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.7253, allocations: 4 kB / 426.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00066/0.726, allocations: 239.4 kB / 427 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.726, allocations: 0 / 427 MB, free: 2.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000729/0.7267, allocations: 54.05 kB / 427.1 MB, free: 2.684 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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample.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.002971/0.7297, allocations: 1.173 MB / 428.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.7303, allocations: 82.64 kB / 428.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.7303, allocations: 8.25 kB / 428.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.7305, allocations: 23.5 kB / 428.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/0.7313, allocations: 64.06 kB / 428.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.733, allocations: 351.9 kB / 428.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.7336, allocations: 0.7513 MB / 429.5 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.7339, allocations: 24.77 kB / 429.5 MB, free: 284 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.7341, allocations: 58.84 kB / 429.6 MB, free: 256 kB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7342, allocations: 4 kB / 429.6 MB, free: 252 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.7759, allocations: 4.761 MB / 434.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001288/0.7772, allocations: 220.2 kB / 434.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.464, allocations: 0 / 434.6 MB, free: 11.29 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat