Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.632e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 50.41 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4591/0.5959, allocations: 81.35 MB / 424 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5963, allocations: 77.83 kB / 424.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02897/0.6253, allocations: 6.506 MB / 430.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6253, allocations: 0 / 430.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.6253, allocations: 0 / 430.6 MB, free: 6.984 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.0007201/0.6261, allocations: 486.3 kB / 431.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6261, allocations: 8.031 kB / 431.1 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.6262, allocations: 34.19 kB / 431.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.6263, allocations: 23.8 kB / 431.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.6269, allocations: 267.5 kB / 431.4 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6269, allocations: 4 kB / 431.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.627, allocations: 7.812 kB / 431.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.6273, allocations: 140 kB / 431.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6274, allocations: 4 kB / 431.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.6274, allocations: 7.266 kB / 431.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6274, allocations: 0 / 431.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.6275, allocations: 34.67 kB / 431.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.6282, allocations: 366.6 kB / 431.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.6284, allocations: 107.7 kB / 432 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.6285, allocations: 45.03 kB / 432.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.6286, allocations: 4 kB / 432.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.6288, allocations: 80.64 kB / 432.2 MB, free: 5.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.275e-06/0.6288, allocations: 0 / 432.2 MB, free: 5.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003569/0.6292, allocations: 113.9 kB / 432.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.6293, allocations: 140.2 kB / 432.4 MB, free: 5.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.6297, allocations: 237.8 kB / 432.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.6297, allocations: 25.7 kB / 432.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.6298, allocations: 116 kB / 432.8 MB, free: 4.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.6299, allocations: 15.31 kB / 432.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.6299, allocations: 4 kB / 432.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.63, allocations: 333.5 kB / 433.1 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.6301, allocations: 18.94 kB / 433.1 MB, free: 4.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.6302, allocations: 67.92 kB / 433.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.6303, allocations: 30.88 kB / 433.2 MB, free: 4.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6303, allocations: 0 / 433.2 MB, free: 4.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002847/0.6306, allocations: 111.9 kB / 433.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.6307, allocations: 8 kB / 433.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6307, allocations: 0 / 433.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6307, allocations: 0 / 433.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6309, allocations: 19.92 kB / 433.4 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.6309, allocations: 4.125 kB / 433.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.631, allocations: 8 kB / 433.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.6311, allocations: 7.562 kB / 433.4 MB, free: 4.145 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,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.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.0001076/0.6312, allocations: 108.3 kB / 433.5 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6313, allocations: 69.05 kB / 433.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.6316, allocations: 116.6 kB / 433.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6316, allocations: 0 / 433.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6316, allocations: 4.062 kB / 433.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6317, allocations: 4 kB / 433.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.6319, allocations: 224.4 kB / 433.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.632, allocations: 4 kB / 433.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.632, allocations: 11.92 kB / 433.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.632, allocations: 0 / 433.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.6321, allocations: 7.953 kB / 433.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6321, allocations: 128 / 433.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6321, allocations: 4 kB / 433.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.6324, allocations: 185 kB / 434.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.6326, allocations: 116.3 kB / 434.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.6326, allocations: 3.938 kB / 434.2 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6328, allocations: 11.17 kB / 434.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.6328, allocations: 7.938 kB / 434.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.6329, allocations: 8 kB / 434.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002774/0.6331, allocations: 191.4 kB / 434.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6332, allocations: 0 / 434.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003949/0.6336, allocations: 39.73 kB / 434.5 MB, free: 3.059 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.00181/0.6354, allocations: 1.168 MB / 435.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.6357, allocations: 65.23 kB / 435.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.6357, allocations: 0 / 435.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.6358, allocations: 27 kB / 435.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.6364, allocations: 46.88 kB / 435.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.6374, allocations: 306 kB / 436.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.6377, allocations: 0.7314 MB / 436.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.6379, allocations: 21.34 kB / 436.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.638, allocations: 49.23 kB / 436.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.638, allocations: 4 kB / 436.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.6751, allocations: 4.029 MB / 440.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.6755, allocations: 218.8 kB / 441.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.234, allocations: 4 kB / 441.1 MB, free: 12.61 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat does not exist to compare? outputFormat=mat