Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.303/2.303, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.117e-05/6.122e-05, allocations: 8 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1534, allocations: 50.35 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5074/0.6608, allocations: 81.99 MB / 416.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/0.6613, allocations: 79.77 kB / 416.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0401/0.7014, allocations: 6.422 MB / 423.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.7015, allocations: 0 / 423.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.226e-05/0.7015, allocations: 4 kB / 423.3 MB, free: 6.926 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.0009741/0.7025, allocations: 0.4995 MB / 423.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.7026, allocations: 8.031 kB / 423.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.7027, allocations: 38.19 kB / 423.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.7028, allocations: 19.72 kB / 423.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.7035, allocations: 302.5 kB / 424.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.7036, allocations: 7.125 kB / 424.2 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.7036, allocations: 8 kB / 424.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.7041, allocations: 152 kB / 424.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7041, allocations: 0 / 424.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.7041, allocations: 3.188 kB / 424.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.7041, allocations: 0 / 424.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.7043, allocations: 39.17 kB / 424.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.7052, allocations: 402.6 kB / 424.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.7055, allocations: 113.9 kB / 424.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.7056, allocations: 43.94 kB / 424.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.7057, allocations: 0 / 424.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.7059, allocations: 80.77 kB / 425 MB, free: 5.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.7059, allocations: 0 / 425 MB, free: 5.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004648/0.7064, allocations: 128.9 kB / 425.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.7066, allocations: 158.2 kB / 425.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.7071, allocations: 292.9 kB / 425.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.7072, allocations: 32.27 kB / 425.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.7073, allocations: 124.4 kB / 425.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.7074, allocations: 26.98 kB / 425.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.7074, allocations: 2.438 kB / 425.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7076, allocations: 340.7 kB / 426.1 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.7077, allocations: 27.17 kB / 426.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.7079, allocations: 84.86 kB / 426.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.708, allocations: 34.86 kB / 426.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.708, allocations: 0 / 426.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003141/0.7083, allocations: 117.5 kB / 426.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.7084, allocations: 8 kB / 426.3 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7084, allocations: 0 / 426.3 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.7084, allocations: 4 kB / 426.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.7086, allocations: 20.05 kB / 426.4 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7087, allocations: 8 kB / 426.4 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.7088, allocations: 7.75 kB / 426.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.7088, allocations: 7.984 kB / 426.4 MB, free: 3.844 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,superSample.y,superSample.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.0001259/0.709, allocations: 120.7 kB / 426.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.7091, allocations: 65.3 kB / 426.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.7095, allocations: 120 kB / 426.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.7095, allocations: 8.062 kB / 426.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7095, allocations: 0 / 426.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7095, allocations: 0 / 426.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.7099, allocations: 250.2 kB / 426.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7099, allocations: 0 / 426.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.71, allocations: 15.88 kB / 426.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.7101, allocations: 4 kB / 426.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.7101, allocations: 3.625 kB / 426.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.7101, allocations: 7.984 kB / 427 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7101, allocations: 3.938 kB / 427 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.7105, allocations: 190.2 kB / 427.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.7107, allocations: 126.6 kB / 427.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.7108, allocations: 7.984 kB / 427.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.7109, allocations: 7.375 kB / 427.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.711, allocations: 11.98 kB / 427.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.711, allocations: 4 kB / 427.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004198/0.7115, allocations: 240.8 kB / 427.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7115, allocations: 0 / 427.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004645/0.712, allocations: 46.36 kB / 427.6 MB, free: 2.668 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,superSample.y,sample.y,superSample.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.001953/0.7139, allocations: 1.163 MB / 428.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.7145, allocations: 93.27 kB / 428.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7145, allocations: 4.25 kB / 428.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.7147, allocations: 27.19 kB / 428.9 MB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009375/0.7156, allocations: 72.33 kB / 428.9 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.7176, allocations: 355.2 kB / 429.3 MB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.7184, allocations: 0.7511 MB / 430 MB, free: 284 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.7188, allocations: 21.33 kB / 430.1 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.7191, allocations: 61.34 kB / 430.1 MB, free: 232 kB / 346.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7192, allocations: 0 / 430.1 MB, free: 232 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.751, allocations: 4.723 MB / 434.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.7513, allocations: 220.3 kB / 435.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.45, allocations: 0 / 435.1 MB, free: 11.31 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat