Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.33/2.33, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.072e-05, allocations: 7.984 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5573, allocations: 81.97 MB / 416.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5576, allocations: 78.83 kB / 416.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02921/0.5869, allocations: 6.277 MB / 423.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5869, allocations: 0 / 423.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.587, allocations: 4 kB / 423.1 MB, free: 7.09 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.0007811/0.5878, allocations: 479.4 kB / 423.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5878, allocations: 8.031 kB / 423.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.5879, allocations: 41.98 kB / 423.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.588, allocations: 23.03 kB / 423.7 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.5885, allocations: 260 kB / 423.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5886, allocations: 3.953 kB / 423.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5886, allocations: 6.75 kB / 423.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.589, allocations: 146.6 kB / 424.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.589, allocations: 0 / 424.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.5891, allocations: 0 / 424.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5891, allocations: 7.984 kB / 424.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.5892, allocations: 35.98 kB / 424.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.5899, allocations: 372 kB / 424.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.5902, allocations: 102.5 kB / 424.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.5903, allocations: 48.52 kB / 424.6 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.5903, allocations: 8.047 kB / 424.6 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.5905, allocations: 68.83 kB / 424.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.846e-06/0.5905, allocations: 0 / 424.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000366/0.5909, allocations: 111.9 kB / 424.8 MB, free: 5.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.961e-05/0.591, allocations: 140.5 kB / 424.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.5914, allocations: 237.8 kB / 425.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.5915, allocations: 29.7 kB / 425.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.5916, allocations: 119.8 kB / 425.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.5916, allocations: 15.39 kB / 425.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.5917, allocations: 4 kB / 425.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5918, allocations: 329.8 kB / 425.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.5919, allocations: 27 kB / 425.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.592, allocations: 64.86 kB / 425.8 MB, free: 4.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.5921, allocations: 26.3 kB / 425.8 MB, free: 4.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5921, allocations: 4.031 kB / 425.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002744/0.5924, allocations: 114.3 kB / 425.9 MB, free: 4.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5925, allocations: 4 kB / 425.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5925, allocations: 0 / 425.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.5925, allocations: 4 kB / 425.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5927, allocations: 11.98 kB / 425.9 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5927, allocations: 4 kB / 425.9 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.5928, allocations: 4 kB / 425.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5929, allocations: 11.69 kB / 425.9 MB, free: 4.258 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.0001188/0.593, allocations: 123.8 kB / 426.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5931, allocations: 56.89 kB / 426.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.5934, allocations: 111.4 kB / 426.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5935, allocations: 4 kB / 426.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5935, allocations: 0 / 426.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5935, allocations: 0 / 426.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.5938, allocations: 238.6 kB / 426.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5938, allocations: 4 kB / 426.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.5939, allocations: 16.11 kB / 426.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5939, allocations: 0 / 426.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5939, allocations: 0 / 426.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5939, allocations: 4 kB / 426.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5939, allocations: 0 / 426.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.5943, allocations: 186.1 kB / 426.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.5944, allocations: 116.5 kB / 426.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.5945, allocations: 11.48 kB / 426.8 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5946, allocations: 4 kB / 426.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.5947, allocations: 4 kB / 426.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.5947, allocations: 7.984 kB / 426.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.5951, allocations: 193.3 kB / 427 MB, free: 3.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.635e-06/0.5951, allocations: 7.938 kB / 427 MB, free: 3.191 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.5955, allocations: 39.39 kB / 427 MB, free: 3.156 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.001831/0.5973, allocations: 1.15 MB / 428.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.5976, allocations: 65.17 kB / 428.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5977, allocations: 0 / 428.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.5978, allocations: 30.94 kB / 428.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.5983, allocations: 51.64 kB / 428.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.5992, allocations: 297 kB / 428.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.5996, allocations: 0.7396 MB / 429.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.5997, allocations: 29.34 kB / 429.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5999, allocations: 49.53 kB / 429.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5999, allocations: 3.938 kB / 429.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.6257, allocations: 4.046 MB / 433.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.626, allocations: 222 kB / 433.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.294, allocations: 0 / 433.7 MB, free: 12.57 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample_res.mat does not exist to compare? outputFormat=mat