Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.586e-05, allocations: 6.812 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6131, allocations: 81.34 MB / 424.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.6135, allocations: 81.92 kB / 424.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02915/0.6426, allocations: 6.507 MB / 431.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6427, allocations: 0 / 431.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.493e-05/0.6427, allocations: 7.984 kB / 431.1 MB, free: 7.043 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.0007975/0.6435, allocations: 478.2 kB / 431.6 MB, free: 6.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6436, allocations: 8.031 kB / 431.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.6437, allocations: 37.75 kB / 431.6 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.6437, allocations: 15.81 kB / 431.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.6443, allocations: 267.1 kB / 431.9 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.6443, allocations: 7.625 kB / 431.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6444, allocations: 7.984 kB / 431.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.6448, allocations: 143.2 kB / 432.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6448, allocations: 0 / 432.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.6448, allocations: 11.52 kB / 432.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.6448, allocations: 0 / 432.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.645, allocations: 34.98 kB / 432.1 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.6456, allocations: 360.2 kB / 432.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.6459, allocations: 109.6 kB / 432.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.646, allocations: 42.09 kB / 432.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.646, allocations: 0 / 432.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.6462, allocations: 80.83 kB / 432.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/0.6463, allocations: 0 / 432.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000371/0.6466, allocations: 114.4 kB / 432.8 MB, free: 5.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.6467, allocations: 132.5 kB / 432.9 MB, free: 5.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.6472, allocations: 242 kB / 433.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.6472, allocations: 36.94 kB / 433.2 MB, free: 4.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.6473, allocations: 115.1 kB / 433.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6474, allocations: 14.94 kB / 433.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.6474, allocations: 0 / 433.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6476, allocations: 329.9 kB / 433.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.6477, allocations: 22.67 kB / 433.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.6478, allocations: 71.22 kB / 433.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.483e-05/0.6479, allocations: 27.52 kB / 433.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6479, allocations: 0 / 433.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002887/0.6482, allocations: 109.5 kB / 433.9 MB, free: 4.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.6483, allocations: 9.562 kB / 433.9 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6483, allocations: 4 kB / 433.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.6483, allocations: 4 kB / 433.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.6485, allocations: 19.42 kB / 433.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.6485, allocations: 4 kB / 433.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.6486, allocations: 4 kB / 433.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.6487, allocations: 4 kB / 433.9 MB, free: 4.215 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.0001219/0.6488, allocations: 109.2 kB / 434 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.649, allocations: 78.92 kB / 434.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.6493, allocations: 111.6 kB / 434.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.6493, allocations: 0 / 434.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6493, allocations: 4 kB / 434.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6493, allocations: 0 / 434.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.6496, allocations: 227.9 kB / 434.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6497, allocations: 0 / 434.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.6497, allocations: 7.938 kB / 434.4 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.6497, allocations: 4 kB / 434.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.6498, allocations: 10.75 kB / 434.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6498, allocations: 4.062 kB / 434.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6498, allocations: 4.125 kB / 434.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.6501, allocations: 178.2 kB / 434.6 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.6503, allocations: 119.5 kB / 434.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.6504, allocations: 11.12 kB / 434.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.6505, allocations: 4 kB / 434.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.6506, allocations: 3.984 kB / 434.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.6506, allocations: 11.53 kB / 434.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002972/0.6509, allocations: 195.2 kB / 435 MB, free: 3.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.651, allocations: 0 / 435 MB, free: 3.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.6514, allocations: 35.19 kB / 435 MB, free: 3.129 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.001864/0.6532, allocations: 1.16 MB / 436.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.6536, allocations: 64.73 kB / 436.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6536, allocations: 0 / 436.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.6537, allocations: 33.61 kB / 436.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.6543, allocations: 47.5 kB / 436.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.6552, allocations: 303 kB / 436.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.6557, allocations: 0.7314 MB / 437.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.6559, allocations: 25.2 kB / 437.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.656, allocations: 45.23 kB / 437.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.656, allocations: 0 / 437.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.6838, allocations: 4.044 MB / 441.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/0.6842, allocations: 212.3 kB / 441.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.293, allocations: 0 / 441.7 MB, free: 12.67 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat does not exist to compare? outputFormat=mat