Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.2/2.2, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.527e-05/4.536e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 50.35 MB / 334.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.6046, allocations: 81.96 MB / 416.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.605, allocations: 84.75 kB / 416.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.6302, allocations: 5.758 MB / 422.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6302, allocations: 0 / 422.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.6302, allocations: 4 kB / 422.6 MB, free: 7.465 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.0007/0.631, allocations: 481.9 kB / 423.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.631, allocations: 8.031 kB / 423.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.6311, allocations: 33.75 kB / 423.1 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.192e-05/0.6312, allocations: 27.7 kB / 423.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.6317, allocations: 255.2 kB / 423.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.6317, allocations: 14.7 kB / 423.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.6318, allocations: 4 kB / 423.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.6322, allocations: 145.1 kB / 423.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6322, allocations: 0 / 423.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.6322, allocations: 4 kB / 423.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.6322, allocations: 0 / 423.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.6324, allocations: 35.55 kB / 423.6 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.633, allocations: 376.6 kB / 423.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.6332, allocations: 100.9 kB / 424 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/0.6334, allocations: 44.95 kB / 424.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.6334, allocations: 4 kB / 424.1 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.6336, allocations: 69.89 kB / 424.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 5.02e-06/0.6336, allocations: 0 / 424.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003412/0.6339, allocations: 112.4 kB / 424.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/0.6341, allocations: 144.5 kB / 424.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.6345, allocations: 236.5 kB / 424.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.6345, allocations: 25.7 kB / 424.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.6346, allocations: 117.7 kB / 424.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.6346, allocations: 18.78 kB / 424.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.6347, allocations: 3.688 kB / 424.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6348, allocations: 333.5 kB / 425.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.6349, allocations: 23.38 kB / 425.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.635, allocations: 67.84 kB / 425.2 MB, free: 4.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.741e-05/0.6351, allocations: 25.69 kB / 425.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6351, allocations: 4.031 kB / 425.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002735/0.6354, allocations: 113.9 kB / 425.4 MB, free: 4.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6354, allocations: 8 kB / 425.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6354, allocations: 0 / 425.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6355, allocations: 0 / 425.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6356, allocations: 15.98 kB / 425.4 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6356, allocations: 0 / 425.4 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.6358, allocations: 11.31 kB / 425.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.6358, allocations: 8.125 kB / 425.4 MB, free: 4.633 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.0001071/0.6359, allocations: 123.9 kB / 425.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.636, allocations: 60.88 kB / 425.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.6363, allocations: 108.6 kB / 425.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6364, allocations: 0 / 425.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6364, allocations: 4.125 kB / 425.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6364, allocations: 0 / 425.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.6367, allocations: 237.5 kB / 425.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6367, allocations: 8 kB / 425.9 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.6367, allocations: 7.984 kB / 425.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6368, allocations: 0 / 425.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.6368, allocations: 4 kB / 425.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.6368, allocations: 0 / 425.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.6368, allocations: 0 / 425.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.6371, allocations: 188.2 kB / 426.1 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.6373, allocations: 112 kB / 426.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.6373, allocations: 0 / 426.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6375, allocations: 15.67 kB / 426.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.6375, allocations: 7.938 kB / 426.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.6375, allocations: 4 kB / 426.3 MB, free: 3.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002748/0.6378, allocations: 192.2 kB / 426.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6378, allocations: 4 kB / 426.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.6383, allocations: 47.91 kB / 426.5 MB, free: 3.535 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.001738/0.64, allocations: 1.154 MB / 427.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.6403, allocations: 65.67 kB / 427.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.6403, allocations: 0 / 427.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.6404, allocations: 26.94 kB / 427.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.6409, allocations: 62.41 kB / 427.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.6418, allocations: 301.3 kB / 428.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.6422, allocations: 0.7321 MB / 428.8 MB, free: 1.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.6423, allocations: 28.66 kB / 428.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.6424, allocations: 47.92 kB / 428.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6424, allocations: 0 / 428.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.6793, allocations: 4.1 MB / 433 MB, free: 13.13 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.6797, allocations: 224.2 kB / 433.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.24, allocations: 0 / 433.2 MB, free: 12.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat