Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",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: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.667e-05, allocations: 4 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.5892, allocations: 81.34 MB / 424.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.5896, allocations: 80.7 kB / 424.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03037/0.62, allocations: 6.65 MB / 431.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6201, allocations: 0 / 431.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.48e-05/0.6201, allocations: 8 kB / 431.2 MB, free: 7.289 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.0008589/0.621, allocations: 0.493 MB / 431.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.621, allocations: 8.031 kB / 431.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.794e-05/0.6211, allocations: 38.19 kB / 431.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.6212, allocations: 23.72 kB / 431.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.6219, allocations: 290.2 kB / 432.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.6219, allocations: 11.5 kB / 432.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.6219, allocations: 4 kB / 432.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.6224, allocations: 156.3 kB / 432.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6224, allocations: 0 / 432.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.6224, allocations: 7.891 kB / 432.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.6224, allocations: 4 kB / 432.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.6226, allocations: 33.06 kB / 432.3 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.6233, allocations: 394.4 kB / 432.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.6236, allocations: 112.4 kB / 432.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.6237, allocations: 50.75 kB / 432.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.6238, allocations: 4 kB / 432.8 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.624, allocations: 73.58 kB / 432.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.274e-06/0.624, allocations: 0 / 432.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003897/0.6244, allocations: 122.6 kB / 433 MB, free: 5.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.6245, allocations: 166.2 kB / 433.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.6251, allocations: 307.7 kB / 433.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.6251, allocations: 25.7 kB / 433.5 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.6252, allocations: 123.8 kB / 433.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.6253, allocations: 19.36 kB / 433.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.6253, allocations: 7.312 kB / 433.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6255, allocations: 329.6 kB / 434 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.6255, allocations: 26 kB / 434 MB, free: 4.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.6257, allocations: 86.97 kB / 434.1 MB, free: 4.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.6258, allocations: 37.42 kB / 434.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6258, allocations: 0 / 434.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000306/0.6262, allocations: 119.2 kB / 434.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6262, allocations: 4 kB / 434.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6262, allocations: 4 kB / 434.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6262, allocations: 0 / 434.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.6265, allocations: 19.98 kB / 434.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6265, allocations: 3.938 kB / 434.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.6266, allocations: 15.28 kB / 434.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.6267, allocations: 4.047 kB / 434.3 MB, free: 4.227 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,superSample1.y,superSample1.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.0001183/0.6268, allocations: 120.5 kB / 434.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6269, allocations: 64.78 kB / 434.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.6273, allocations: 119.5 kB / 434.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6273, allocations: 4 kB / 434.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6273, allocations: 0 / 434.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6273, allocations: 0 / 434.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.6277, allocations: 262 kB / 434.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6277, allocations: 0 / 434.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6278, allocations: 15.98 kB / 434.9 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6278, allocations: 3.938 kB / 434.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.6279, allocations: 7.953 kB / 434.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6279, allocations: 3.938 kB / 434.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6279, allocations: 0 / 434.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.6283, allocations: 205.7 kB / 435.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.6284, allocations: 119 kB / 435.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.6285, allocations: 0 / 435.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6286, allocations: 7.984 kB / 435.2 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.6287, allocations: 11.17 kB / 435.2 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.6287, allocations: 4 kB / 435.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003825/0.6291, allocations: 242.1 kB / 435.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6291, allocations: 0 / 435.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.6296, allocations: 59.77 kB / 435.5 MB, free: 3.031 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,superSample1.y,sample1.y,superSample1.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.001914/0.6315, allocations: 1.166 MB / 436.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.6319, allocations: 85.2 kB / 436.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6319, allocations: 0 / 436.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.632, allocations: 39.11 kB / 436.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.6326, allocations: 52.42 kB / 436.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.6336, allocations: 353.6 kB / 437.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.634, allocations: 0.7508 MB / 438 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.6342, allocations: 33.45 kB / 438 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6343, allocations: 55.61 kB / 438.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6343, allocations: 0 / 438.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.6685, allocations: 4.691 MB / 442.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/0.6689, allocations: 217.2 kB / 443 MB, free: 11.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.308, allocations: 4.062 kB / 443 MB, free: 11.83 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat