Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.26e-05/4.271e-05, allocations: 11.8 kB / 292.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 50.41 MB / 343.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5798, allocations: 81.35 MB / 424.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.5802, allocations: 78.7 kB / 424.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02782/0.608, allocations: 6.064 MB / 430.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6081, allocations: 0 / 430.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.831e-05/0.6081, allocations: 4 kB / 430.6 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.0008419/0.609, allocations: 0.4926 MB / 431.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.609, allocations: 12.03 kB / 431.2 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.6091, allocations: 41.86 kB / 431.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.6092, allocations: 23.72 kB / 431.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.6098, allocations: 287.6 kB / 431.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6099, allocations: 7.25 kB / 431.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.6099, allocations: 4 kB / 431.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.6103, allocations: 159.5 kB / 431.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6104, allocations: 0 / 431.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6104, allocations: 11.27 kB / 431.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6104, allocations: 0 / 431.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.6106, allocations: 38.36 kB / 431.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.6114, allocations: 394.2 kB / 432.1 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.6117, allocations: 118.3 kB / 432.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.6118, allocations: 48.33 kB / 432.3 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.6118, allocations: 3.984 kB / 432.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.6121, allocations: 70.45 kB / 432.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.6121, allocations: 4 kB / 432.3 MB, free: 5.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004394/0.6126, allocations: 123.6 kB / 432.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/0.6127, allocations: 162.2 kB / 432.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.6134, allocations: 298 kB / 432.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.6134, allocations: 25.7 kB / 432.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.6136, allocations: 131.7 kB / 433.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.6136, allocations: 19.12 kB / 433.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.6137, allocations: 4.062 kB / 433.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.6139, allocations: 332.6 kB / 433.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.614, allocations: 23.06 kB / 433.4 MB, free: 4.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.6142, allocations: 97.09 kB / 433.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.6143, allocations: 22.94 kB / 433.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.6143, allocations: 4 kB / 433.6 MB, free: 4.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003623/0.6147, allocations: 124.5 kB / 433.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.6147, allocations: 5.406 kB / 433.7 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.6148, allocations: 4 kB / 433.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6148, allocations: 0 / 433.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.615, allocations: 24.11 kB / 433.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6151, allocations: 0 / 433.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.6152, allocations: 15.16 kB / 433.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.6153, allocations: 4 kB / 433.7 MB, free: 4.34 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.0001393/0.6154, allocations: 115.7 kB / 433.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.6156, allocations: 64.7 kB / 433.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.616, allocations: 124.6 kB / 434 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.616, allocations: 4.062 kB / 434 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.616, allocations: 0 / 434 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.616, allocations: 7.984 kB / 434 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.6164, allocations: 249 kB / 434.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6164, allocations: 4 kB / 434.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.6166, allocations: 19.92 kB / 434.3 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6166, allocations: 0 / 434.3 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.6166, allocations: 11.77 kB / 434.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6166, allocations: 0 / 434.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6166, allocations: 0 / 434.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.617, allocations: 195.6 kB / 434.5 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.6172, allocations: 115.6 kB / 434.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.6173, allocations: 11.86 kB / 434.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.6174, allocations: 0 / 434.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.6175, allocations: 19.36 kB / 434.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6176, allocations: 0 / 434.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.618, allocations: 242.6 kB / 434.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.618, allocations: 0 / 434.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.6185, allocations: 49.72 kB / 434.9 MB, free: 3.16 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.001972/0.6205, allocations: 1.189 MB / 436.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.6208, allocations: 76.72 kB / 436.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6208, allocations: 0 / 436.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.621, allocations: 33.17 kB / 436.2 MB, free: 2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.6215, allocations: 59.41 kB / 436.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6226, allocations: 356.1 kB / 436.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.623, allocations: 0.7433 MB / 437.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.6232, allocations: 25.31 kB / 437.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.6234, allocations: 60.48 kB / 437.5 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6234, allocations: 3.938 kB / 437.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.656, allocations: 4.742 MB / 442.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/0.6563, allocations: 218.4 kB / 442.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.329, allocations: 7.938 kB / 442.4 MB, free: 11.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat