Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.252/2.252, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.023e-05, allocations: 8 kB / 292.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 50.41 MB / 343.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/0.6133, allocations: 81.1 MB / 424.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.6137, allocations: 84.45 kB / 424.3 MB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02738/0.6411, allocations: 6.642 MB / 431 MB, free: 6.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6412, allocations: 0 / 431 MB, free: 6.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.907e-05/0.6412, allocations: 11.69 kB / 431 MB, free: 6.223 MB / 330.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.0006878/0.6419, allocations: 0.4946 MB / 431.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.642, allocations: 11.53 kB / 431.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.642, allocations: 33.94 kB / 431.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.6421, allocations: 23.16 kB / 431.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.6426, allocations: 291.6 kB / 431.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.6427, allocations: 7.469 kB / 431.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.6427, allocations: 3.688 kB / 431.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.6431, allocations: 149.7 kB / 432 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6431, allocations: 0 / 432 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.6431, allocations: 7.859 kB / 432 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.6431, allocations: 0 / 432 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.6433, allocations: 37.8 kB / 432 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.6439, allocations: 409.6 kB / 432.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.6441, allocations: 116.1 kB / 432.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.6442, allocations: 40.55 kB / 432.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.6443, allocations: 7.812 kB / 432.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.6445, allocations: 74.61 kB / 432.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.6445, allocations: 4 kB / 432.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003611/0.6449, allocations: 122.2 kB / 432.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.6449, allocations: 161.6 kB / 433 MB, free: 4.566 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.6454, allocations: 300.8 kB / 433.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.6454, allocations: 29.14 kB / 433.3 MB, free: 4.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.6455, allocations: 125.1 kB / 433.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.6456, allocations: 22.39 kB / 433.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.6456, allocations: 8 kB / 433.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.6457, allocations: 327.5 kB / 433.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.6458, allocations: 26.8 kB / 433.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.6459, allocations: 89.86 kB / 433.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.646, allocations: 33.55 kB / 433.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.646, allocations: 0 / 433.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002652/0.6463, allocations: 122.4 kB / 434 MB, free: 3.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.6463, allocations: 7.594 kB / 434 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6464, allocations: 0 / 434 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.6464, allocations: 3.844 kB / 434 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.6466, allocations: 19.8 kB / 434 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6466, allocations: 3.719 kB / 434 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.6468, allocations: 15.23 kB / 434.1 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6468, allocations: 3.656 kB / 434.1 MB, free: 3.824 MB / 330.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 8.996e-05/0.6469, allocations: 116.3 kB / 434.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.647, allocations: 67.92 kB / 434.2 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.6473, allocations: 126.4 kB / 434.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6474, allocations: 3.875 kB / 434.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6474, allocations: 0 / 434.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6474, allocations: 0 / 434.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.6476, allocations: 251.5 kB / 434.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6477, allocations: 0 / 434.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.6478, allocations: 11.56 kB / 434.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.6478, allocations: 3.938 kB / 434.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.6478, allocations: 11.78 kB / 434.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6478, allocations: 128 / 434.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6478, allocations: 4 kB / 434.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6482, allocations: 190.8 kB / 434.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6483, allocations: 126.2 kB / 435 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.6484, allocations: 3.375 kB / 435 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6485, allocations: 3.844 kB / 435 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.6486, allocations: 14.95 kB / 435 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.6486, allocations: 3.75 kB / 435 MB, free: 3.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.6489, allocations: 239.2 kB / 435.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6489, allocations: 0 / 435.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004289/0.6494, allocations: 53.8 kB / 435.3 MB, free: 2.988 MB / 330.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.001971/0.6514, allocations: 1.191 MB / 436.5 MB, free: 18.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.6518, allocations: 86.88 kB / 436.5 MB, free: 18.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6518, allocations: 0 / 436.5 MB, free: 18.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.6519, allocations: 27.91 kB / 436.6 MB, free: 18.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.6524, allocations: 57.84 kB / 436.6 MB, free: 18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.6534, allocations: 360.3 kB / 437 MB, free: 17.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.6538, allocations: 0.7407 MB / 437.7 MB, free: 17.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000156/0.654, allocations: 27.48 kB / 437.7 MB, free: 17.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.6542, allocations: 63.44 kB / 437.8 MB, free: 17.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.854e-06/0.6542, allocations: 0 / 437.8 MB, free: 17.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.6847, allocations: 4.7 MB / 442.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.6851, allocations: 212.2 kB / 442.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.399, allocations: 0 / 442.7 MB, free: 14.51 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat does not exist to compare? outputFormat=mat