Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.995e-05, allocations: 3.984 kB / 292.7 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5817, allocations: 81.5 MB / 424.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5821, allocations: 78.58 kB / 424.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0279/0.61, allocations: 6.043 MB / 430.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.61, allocations: 0 / 430.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.6101, allocations: 8 kB / 430.8 MB, free: 7.219 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008094/0.6109, allocations: 487 kB / 431.3 MB, free: 6.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.611, allocations: 8.031 kB / 431.3 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.611, allocations: 50.31 kB / 431.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.6111, allocations: 23.72 kB / 431.3 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.6118, allocations: 257.7 kB / 431.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.6118, allocations: 11.3 kB / 431.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.6118, allocations: 4 kB / 431.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.6123, allocations: 166.4 kB / 431.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.6123, allocations: 0 / 431.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.6124, allocations: 15.05 kB / 431.8 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.6124, allocations: 3.953 kB / 431.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.6125, allocations: 34.69 kB / 431.8 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.6133, allocations: 380.6 kB / 432.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.6136, allocations: 127 kB / 432.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.6137, allocations: 53.75 kB / 432.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.6138, allocations: 11.88 kB / 432.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.614, allocations: 77.77 kB / 432.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.986e-06/0.614, allocations: 0 / 432.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003976/0.6144, allocations: 118.1 kB / 432.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6145, allocations: 165.8 kB / 432.7 MB, free: 5.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.615, allocations: 248.5 kB / 433 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.615, allocations: 25.7 kB / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6151, allocations: 122.3 kB / 433.1 MB, free: 4.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.6152, allocations: 18.88 kB / 433.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.6152, allocations: 3.125 kB / 433.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6153, allocations: 333.6 kB / 433.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.6154, allocations: 18.88 kB / 433.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.6156, allocations: 83.66 kB / 433.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.6157, allocations: 28.73 kB / 433.6 MB, free: 4.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6157, allocations: 4 kB / 433.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003281/0.616, allocations: 123.1 kB / 433.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.6161, allocations: 9.359 kB / 433.7 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6161, allocations: 4 kB / 433.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6161, allocations: 0 / 433.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.6163, allocations: 15.81 kB / 433.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.6163, allocations: 7.984 kB / 433.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.6164, allocations: 4 kB / 433.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.6165, allocations: 4 kB / 433.8 MB, free: 4.203 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001124/0.6166, allocations: 124.3 kB / 433.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6168, allocations: 79.53 kB / 434 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.6171, allocations: 115.9 kB / 434.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.6171, allocations: 4 kB / 434.1 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6171, allocations: 0 / 434.1 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6171, allocations: 7.938 kB / 434.1 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.6175, allocations: 240.2 kB / 434.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6175, allocations: 4.094 kB / 434.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.6175, allocations: 11.94 kB / 434.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6176, allocations: 0 / 434.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.6176, allocations: 4 kB / 434.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.6176, allocations: 3.953 kB / 434.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6176, allocations: 0 / 434.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.618, allocations: 215.2 kB / 434.6 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.6182, allocations: 123.5 kB / 434.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.6182, allocations: 3.5 kB / 434.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6184, allocations: 7.984 kB / 434.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.6184, allocations: 4 kB / 434.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.6185, allocations: 11.5 kB / 434.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002963/0.6188, allocations: 195.1 kB / 434.9 MB, free: 3.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6188, allocations: 0 / 434.9 MB, free: 3.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.6192, allocations: 47.58 kB / 434.9 MB, free: 3.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001965/0.6212, allocations: 1.252 MB / 436.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.6215, allocations: 77.86 kB / 436.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.6215, allocations: 3.188 kB / 436.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.6216, allocations: 26 kB / 436.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.6223, allocations: 66.05 kB / 436.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/0.6232, allocations: 322.2 kB / 436.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.6237, allocations: 0.7434 MB / 437.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.6239, allocations: 29.69 kB / 437.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.624, allocations: 50.55 kB / 437.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.624, allocations: 0 / 437.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.6514, allocations: 4.37 MB / 441.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.6518, allocations: 217.4 kB / 442.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.324, allocations: 0 / 442.1 MB, free: 12.12 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat does not exist to compare? outputFormat=mat