Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.122/2.122, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.415e-05/4.409e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.35 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6286, allocations: 82.09 MB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004207/0.6291, allocations: 78.5 kB / 417 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03882/0.6679, allocations: 5.875 MB / 422.8 MB, free: 6.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.668, allocations: 0 / 422.8 MB, free: 6.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.284e-05/0.6681, allocations: 8 kB / 422.8 MB, free: 6.875 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.001073/0.6692, allocations: 485.4 kB / 423.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.6693, allocations: 15.97 kB / 423.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.6693, allocations: 37.17 kB / 423.4 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.6695, allocations: 23.72 kB / 423.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.6704, allocations: 260.8 kB / 423.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.6704, allocations: 15.12 kB / 423.7 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.6705, allocations: 7.5 kB / 423.7 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.6709, allocations: 170.8 kB / 423.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6709, allocations: 0 / 423.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.671, allocations: 3.938 kB / 423.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.671, allocations: 4 kB / 423.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.6711, allocations: 33.44 kB / 423.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.6719, allocations: 379.1 kB / 424.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.6722, allocations: 127.4 kB / 424.4 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.6724, allocations: 53.92 kB / 424.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.6724, allocations: 11.92 kB / 424.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.6726, allocations: 73.2 kB / 424.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.126e-06/0.6727, allocations: 0 / 424.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005565/0.6732, allocations: 128 kB / 424.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.6734, allocations: 162.2 kB / 424.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.6741, allocations: 248.3 kB / 425 MB, free: 4.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.6742, allocations: 28.7 kB / 425.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.6743, allocations: 124 kB / 425.2 MB, free: 4.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.6744, allocations: 14.97 kB / 425.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.6744, allocations: 3.5 kB / 425.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.6747, allocations: 333.3 kB / 425.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.6748, allocations: 24.94 kB / 425.5 MB, free: 4.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.675, allocations: 77.28 kB / 425.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.6752, allocations: 33.14 kB / 425.7 MB, free: 4.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6752, allocations: 4 kB / 425.7 MB, free: 4.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004868/0.6757, allocations: 128 kB / 425.8 MB, free: 3.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.6758, allocations: 4 kB / 425.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6758, allocations: 0 / 425.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.6758, allocations: 4 kB / 425.8 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.6761, allocations: 15.75 kB / 425.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.6761, allocations: 7.969 kB / 425.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.6763, allocations: 12.19 kB / 425.8 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.6764, allocations: 4 kB / 425.8 MB, free: 3.852 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.0001678/0.6766, allocations: 127 kB / 426 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.6768, allocations: 76.47 kB / 426 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.6773, allocations: 107.6 kB / 426.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6774, allocations: 4 kB / 426.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6774, allocations: 4.031 kB / 426.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6774, allocations: 4 kB / 426.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.678, allocations: 247.8 kB / 426.4 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.678, allocations: 4 kB / 426.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.6781, allocations: 7.938 kB / 426.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.6781, allocations: 4 kB / 426.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.6782, allocations: 0 / 426.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.6782, allocations: 4 kB / 426.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.6782, allocations: 3.984 kB / 426.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.6788, allocations: 205.5 kB / 426.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.679, allocations: 122.8 kB / 426.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.6791, allocations: 4 kB / 426.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.6793, allocations: 15.92 kB / 426.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.6794, allocations: 7.953 kB / 426.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.6794, allocations: 4 kB / 426.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.6799, allocations: 196.6 kB / 427 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.432e-06/0.6799, allocations: 0 / 427 MB, free: 2.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000643/0.6806, allocations: 46.17 kB / 427 MB, free: 2.691 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.00312/0.6838, allocations: 1.237 MB / 428.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.6843, allocations: 81.41 kB / 428.3 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.6843, allocations: 0 / 428.3 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6845, allocations: 27.38 kB / 428.3 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.000847/0.6853, allocations: 65.44 kB / 428.4 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.6868, allocations: 322.6 kB / 428.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.6873, allocations: 0.7396 MB / 429.5 MB, free: 284 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.6875, allocations: 25.67 kB / 429.5 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.6877, allocations: 59.05 kB / 429.5 MB, free: 232 kB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6877, allocations: 0 / 429.5 MB, free: 232 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07346/0.7612, allocations: 4.379 MB / 433.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.7615, allocations: 219.2 kB / 434.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.365, allocations: 3.938 kB / 434.1 MB, free: 11.65 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample_res.mat does not exist to compare? outputFormat=mat