Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.34/2.34, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.142e-05, allocations: 4 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6266, allocations: 81.99 MB / 416.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004739/0.6272, allocations: 81.27 kB / 416.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04756/0.6748, allocations: 6.427 MB / 423.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6748, allocations: 0 / 423.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.6749, allocations: 7.938 kB / 423.3 MB, free: 6.891 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.001276/0.6762, allocations: 0.4983 MB / 423.8 MB, free: 6.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.472e-05/0.6763, allocations: 8.031 kB / 423.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.769e-05/0.6764, allocations: 37.81 kB / 423.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.6766, allocations: 23.7 kB / 423.9 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.6776, allocations: 291.4 kB / 424.1 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.6777, allocations: 3.375 kB / 424.1 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.6778, allocations: 7.25 kB / 424.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.6784, allocations: 153.2 kB / 424.3 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6785, allocations: 4 kB / 424.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.6785, allocations: 3.188 kB / 424.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6785, allocations: 0 / 424.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.6788, allocations: 38.42 kB / 424.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.6799, allocations: 404.5 kB / 424.7 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.6803, allocations: 116.7 kB / 424.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.6805, allocations: 41.14 kB / 424.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.6806, allocations: 0 / 424.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.6809, allocations: 82.06 kB / 425 MB, free: 5.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.228e-06/0.6809, allocations: 4 kB / 425 MB, free: 5.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005943/0.6815, allocations: 117.1 kB / 425.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.6817, allocations: 165 kB / 425.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.6825, allocations: 292.7 kB / 425.5 MB, free: 4.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.6826, allocations: 29.7 kB / 425.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.6828, allocations: 131 kB / 425.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.6829, allocations: 18.69 kB / 425.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.6829, allocations: 4.062 kB / 425.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.6831, allocations: 336.2 kB / 426 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.6833, allocations: 26.88 kB / 426.1 MB, free: 4.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.6836, allocations: 95.17 kB / 426.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.6837, allocations: 35.48 kB / 426.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6838, allocations: 0 / 426.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004596/0.6842, allocations: 117.1 kB / 426.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.6843, allocations: 8 kB / 426.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6843, allocations: 3.984 kB / 426.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6844, allocations: 4 kB / 426.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.6847, allocations: 20.06 kB / 426.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.6847, allocations: 4 kB / 426.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.6849, allocations: 7.984 kB / 426.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.685, allocations: 7.75 kB / 426.4 MB, free: 3.812 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,subSample.y,subSample.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.0001642/0.6852, allocations: 116.3 kB / 426.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.6854, allocations: 68.66 kB / 426.6 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.6859, allocations: 119.5 kB / 426.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6859, allocations: 8 kB / 426.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.686, allocations: 4 kB / 426.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.686, allocations: 0 / 426.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.6864, allocations: 248.1 kB / 426.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6865, allocations: 8.125 kB / 426.9 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.6867, allocations: 11.94 kB / 426.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.6867, allocations: 8.031 kB / 426.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.6867, allocations: 3.984 kB / 427 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6868, allocations: 3.938 kB / 427 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6868, allocations: 4 kB / 427 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.6873, allocations: 194.5 kB / 427.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.6876, allocations: 123.5 kB / 427.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.6877, allocations: 7.125 kB / 427.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6879, allocations: 4 kB / 427.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.688, allocations: 15.92 kB / 427.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.688, allocations: 4 kB / 427.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005264/0.6886, allocations: 244.4 kB / 427.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.6886, allocations: 0 / 427.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007224/0.6893, allocations: 42.56 kB / 427.6 MB, free: 2.633 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,subSample.y,sample.y,subSample.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.003279/0.6926, allocations: 1.166 MB / 428.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.6933, allocations: 97.16 kB / 428.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6933, allocations: 0 / 428.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.6937, allocations: 26.86 kB / 428.9 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/0.6947, allocations: 55.08 kB / 428.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.6958, allocations: 359.6 kB / 429.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.6962, allocations: 0.7498 MB / 430 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.6964, allocations: 25.47 kB / 430 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.6966, allocations: 61.47 kB / 430.1 MB, free: 200 kB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/0.6966, allocations: 0 / 430.1 MB, free: 200 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.7344, allocations: 4.717 MB / 434.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.7348, allocations: 214.1 kB / 435 MB, free: 11.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.427, allocations: 0 / 435 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.SubSample_res.mat does not exist to compare? outputFormat=mat