Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.318/2.318, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.256e-05, allocations: 7.984 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 50.36 MB / 334.8 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.5811, allocations: 82.1 MB / 416.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5814, allocations: 78.02 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02696/0.6084, allocations: 6.023 MB / 423 MB, free: 6.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6084, allocations: 4 kB / 423 MB, free: 6.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.6085, allocations: 4 kB / 423 MB, free: 6.727 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008658/0.6093, allocations: 0.4953 MB / 423.5 MB, free: 6.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.6094, allocations: 12.03 kB / 423.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.6095, allocations: 38.31 kB / 423.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.6096, allocations: 23.72 kB / 423.6 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.6103, allocations: 297.8 kB / 423.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.6103, allocations: 15.94 kB / 423.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.6103, allocations: 6.938 kB / 423.9 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.6108, allocations: 170 kB / 424.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6108, allocations: 0 / 424.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.6109, allocations: 4 kB / 424.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6109, allocations: 4 kB / 424.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.611, allocations: 40.55 kB / 424.1 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000847/0.6119, allocations: 416.4 kB / 424.5 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.6122, allocations: 131.4 kB / 424.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.6124, allocations: 60.11 kB / 424.7 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.6124, allocations: 4 kB / 424.7 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.6126, allocations: 81.27 kB / 424.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.216e-06/0.6127, allocations: 0 / 424.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004473/0.6131, allocations: 133.7 kB / 424.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.6133, allocations: 191.4 kB / 425.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.6138, allocations: 299.9 kB / 425.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.6139, allocations: 29.69 kB / 425.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.614, allocations: 127.2 kB / 425.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.6141, allocations: 18.5 kB / 425.6 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.6141, allocations: 2.938 kB / 425.6 MB, free: 4.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6143, allocations: 340.5 kB / 425.9 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.6144, allocations: 22.5 kB / 425.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.6145, allocations: 107.2 kB / 426 MB, free: 3.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.6147, allocations: 33.61 kB / 426.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6147, allocations: 0 / 426.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003384/0.615, allocations: 133.8 kB / 426.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.6151, allocations: 7.984 kB / 426.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6151, allocations: 7.984 kB / 426.2 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.6152, allocations: 4.188 kB / 426.2 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.6154, allocations: 31.38 kB / 426.2 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6154, allocations: 3.984 kB / 426.2 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6156, allocations: 11.94 kB / 426.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.6156, allocations: 4 kB / 426.3 MB, free: 3.469 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.00013/0.6157, allocations: 119.7 kB / 426.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.6159, allocations: 80.69 kB / 426.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.6163, allocations: 133.3 kB / 426.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.6163, allocations: 4 kB / 426.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6163, allocations: 0 / 426.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6164, allocations: 3.938 kB / 426.6 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.6167, allocations: 260 kB / 426.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.6167, allocations: 0 / 426.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.6169, allocations: 19.98 kB / 426.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6169, allocations: 3.938 kB / 426.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6169, allocations: 4 kB / 426.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6169, allocations: 0 / 426.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.617, allocations: 8 kB / 426.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.6174, allocations: 215.5 kB / 427.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.6176, allocations: 128.4 kB / 427.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.6176, allocations: 4 kB / 427.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.6178, allocations: 11.8 kB / 427.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.6179, allocations: 11.94 kB / 427.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.618, allocations: 4 kB / 427.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003973/0.6184, allocations: 243 kB / 427.5 MB, free: 2.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6184, allocations: 3.938 kB / 427.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004688/0.6189, allocations: 58.42 kB / 427.5 MB, free: 2.219 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.002048/0.6209, allocations: 1.266 MB / 428.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.6213, allocations: 90.72 kB / 428.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6213, allocations: 0 / 428.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.6215, allocations: 34.73 kB / 428.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.6221, allocations: 65.44 kB / 429 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6233, allocations: 377.6 kB / 429.4 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.6238, allocations: 0.7585 MB / 430.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.6239, allocations: 41.78 kB / 430.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.6241, allocations: 61.55 kB / 430.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6241, allocations: 0 / 430.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.6578, allocations: 5.038 MB / 435.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.6582, allocations: 227.1 kB / 435.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.373, allocations: 0 / 435.5 MB, free: 10.4 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample_res.mat does not exist to compare? outputFormat=mat