Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.043e-05, allocations: 6.812 kB / 292.7 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 50.4 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5167/0.6484, allocations: 81.53 MB / 424.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.6488, allocations: 74.45 kB / 424.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03703/0.6859, allocations: 6.197 MB / 430.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.686, allocations: 4 kB / 431 MB, free: 7.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.79e-05/0.686, allocations: 4 kB / 431 MB, free: 7.098 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.001031/0.6871, allocations: 0.4934 MB / 431.5 MB, free: 6.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.6871, allocations: 12.03 kB / 431.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.841e-05/0.6872, allocations: 34 kB / 431.5 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.6874, allocations: 26.97 kB / 431.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/0.6882, allocations: 296.1 kB / 431.8 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.6883, allocations: 11.05 kB / 431.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.6883, allocations: 8 kB / 431.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.6889, allocations: 172.3 kB / 432 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6889, allocations: 0 / 432 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.689, allocations: 11.33 kB / 432 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.689, allocations: 0 / 432 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.6892, allocations: 43.05 kB / 432.1 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.6902, allocations: 407.7 kB / 432.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.6907, allocations: 136.4 kB / 432.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.6909, allocations: 69.56 kB / 432.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.6909, allocations: 4 kB / 432.7 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.6912, allocations: 78.02 kB / 432.7 MB, free: 5.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 4.739e-06/0.6912, allocations: 0 / 432.7 MB, free: 5.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005964/0.6918, allocations: 133.1 kB / 432.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.692, allocations: 192 kB / 433 MB, free: 4.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.6928, allocations: 308.6 kB / 433.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.6929, allocations: 25.7 kB / 433.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.693, allocations: 133.3 kB / 433.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.6931, allocations: 23 kB / 433.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.6931, allocations: 0 / 433.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6933, allocations: 334.4 kB / 433.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.6935, allocations: 27.75 kB / 433.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.6938, allocations: 106.6 kB / 434 MB, free: 4.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.6939, allocations: 34.42 kB / 434 MB, free: 4.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6939, allocations: 0 / 434 MB, free: 4.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005115/0.6945, allocations: 127.6 kB / 434.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.6945, allocations: 11.98 kB / 434.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6946, allocations: 0 / 434.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.6946, allocations: 4.188 kB / 434.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.6949, allocations: 27.25 kB / 434.2 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.6949, allocations: 7.984 kB / 434.2 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.6952, allocations: 7.906 kB / 434.2 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.6953, allocations: 8 kB / 434.2 MB, free: 3.84 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,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.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.0001702/0.6955, allocations: 112 kB / 434.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.6957, allocations: 84.17 kB / 434.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.6963, allocations: 128.8 kB / 434.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.6963, allocations: 0 / 434.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6963, allocations: 7.938 kB / 434.5 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.6963, allocations: 0 / 434.5 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.6968, allocations: 250.9 kB / 434.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6968, allocations: 3.938 kB / 434.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.6971, allocations: 12 kB / 434.8 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.6971, allocations: 11.92 kB / 434.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.6971, allocations: 8.078 kB / 434.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.6972, allocations: 4 kB / 434.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6972, allocations: 4 kB / 434.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.6978, allocations: 219.4 kB / 435 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.698, allocations: 124.2 kB / 435.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.6981, allocations: 6.812 kB / 435.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6984, allocations: 7.359 kB / 435.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.6985, allocations: 11.98 kB / 435.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6985, allocations: 4 kB / 435.2 MB, free: 2.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005828/0.6991, allocations: 240 kB / 435.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6991, allocations: 3.938 kB / 435.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007201/0.6999, allocations: 62.14 kB / 435.5 MB, free: 2.598 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (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.002745/0.7026, allocations: 1.281 MB / 436.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.7031, allocations: 87.41 kB / 436.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7032, allocations: 8.062 kB / 436.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.7033, allocations: 34.05 kB / 436.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.7041, allocations: 65.28 kB / 437 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.7057, allocations: 378.8 kB / 437.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.7062, allocations: 0.7627 MB / 438.1 MB, free: 120 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.7065, allocations: 29.53 kB / 438.1 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.7067, allocations: 58.73 kB / 438.2 MB, free: 68 kB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7067, allocations: 0 / 438.2 MB, free: 68 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/0.7502, allocations: 5.026 MB / 443.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.7506, allocations: 217.2 kB / 443.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.349, allocations: 0 / 443.4 MB, free: 10.91 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat does not exist to compare? outputFormat=mat