Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.364e-05, allocations: 0 / 292.7 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6525, allocations: 81.87 MB / 425 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.6529, allocations: 86.44 kB / 425.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04635/0.6992, allocations: 8.822 MB / 433.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6993, allocations: 0 / 433.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.649e-05/0.6994, allocations: 4 kB / 433.9 MB, free: 4.594 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009892/0.7004, allocations: 0.4928 MB / 434.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.7004, allocations: 12.03 kB / 434.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.344e-05/0.7005, allocations: 52.06 kB / 434.5 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.7007, allocations: 27.62 kB / 434.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/0.7013, allocations: 276 kB / 434.8 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.7014, allocations: 7.125 kB / 434.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.7014, allocations: 15.38 kB / 434.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.7022, allocations: 281.6 kB / 435.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.7023, allocations: 7.984 kB / 435.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.7023, allocations: 11.2 kB / 435.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.7023, allocations: 7.984 kB / 435.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.7026, allocations: 53.94 kB / 435.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.7034, allocations: 387.4 kB / 435.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.7038, allocations: 172.2 kB / 435.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.704, allocations: 86 kB / 435.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.7041, allocations: 0 / 435.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.7043, allocations: 87.64 kB / 435.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.856e-06/0.7043, allocations: 0 / 435.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005696/0.7049, allocations: 172 kB / 436 MB, free: 2.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.705, allocations: 143.5 kB / 436.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.7055, allocations: 248.2 kB / 436.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.7056, allocations: 28.77 kB / 436.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.7057, allocations: 119.9 kB / 436.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.7058, allocations: 38.27 kB / 436.6 MB, free: 2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.7058, allocations: 3.688 kB / 436.6 MB, free: 2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.706, allocations: 337 kB / 436.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.7061, allocations: 32.41 kB / 437 MB, free: 1.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.7063, allocations: 166.7 kB / 437.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.7065, allocations: 61.31 kB / 437.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.7065, allocations: 7.953 kB / 437.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005425/0.7071, allocations: 200.7 kB / 437.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.7071, allocations: 8.094 kB / 437.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7072, allocations: 4 kB / 437.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.7072, allocations: 8 kB / 437.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.7074, allocations: 31.73 kB / 437.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.7074, allocations: 7.938 kB / 437.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.7076, allocations: 11.12 kB / 437.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.7077, allocations: 15.98 kB / 437.5 MB, free: 1.141 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,sample1.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001695/0.7079, allocations: 133.7 kB / 437.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.7082, allocations: 127.2 kB / 437.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.7085, allocations: 116 kB / 437.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7086, allocations: 4 kB / 437.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7086, allocations: 0 / 437.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.7086, allocations: 3.984 kB / 437.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.7089, allocations: 249 kB / 438.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.709, allocations: 0 / 438.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.7091, allocations: 19.88 kB / 438.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.7091, allocations: 0 / 438.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.7091, allocations: 12 kB / 438.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.7091, allocations: 8 kB / 438.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7092, allocations: 7.922 kB / 438.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.7097, allocations: 245.1 kB / 438.4 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.7099, allocations: 123.6 kB / 438.5 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.71, allocations: 11.3 kB / 438.5 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.7101, allocations: 7.25 kB / 438.5 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.7102, allocations: 7.984 kB / 438.5 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.7102, allocations: 11.88 kB / 438.6 MB, free: 104 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003628/0.7106, allocations: 192.9 kB / 438.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7106, allocations: 0 / 438.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.7111, allocations: 50.56 kB / 438.8 MB, free: 15.9 MB / 362.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: 20 ($whenCondition1,sample1.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.00231/0.7135, allocations: 1.317 MB / 440.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.714, allocations: 130.8 kB / 440.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.714, allocations: 4.312 kB / 440.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.7141, allocations: 27.19 kB / 440.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.7148, allocations: 96.73 kB / 440.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.7161, allocations: 376.2 kB / 440.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.7166, allocations: 0.7631 MB / 441.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.7167, allocations: 26.06 kB / 441.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.7169, allocations: 67.28 kB / 441.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7169, allocations: 3.938 kB / 441.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.746, allocations: 4.982 MB / 446.6 MB, free: 8.445 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.7463, allocations: 219.2 kB / 446.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.494, allocations: 0 / 446.8 MB, free: 8.211 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat does not exist to compare? outputFormat=mat