Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.974e-05, allocations: 0 / 292.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50.42 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/0.5977, allocations: 81.48 MB / 424.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.5981, allocations: 86.12 kB / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02647/0.6246, allocations: 6.006 MB / 430.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6246, allocations: 0 / 430.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.6246, allocations: 4 kB / 430.7 MB, free: 7.254 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.0007636/0.6254, allocations: 479.1 kB / 431.2 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6255, allocations: 11.97 kB / 431.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.6256, allocations: 50.44 kB / 431.3 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.6256, allocations: 15.81 kB / 431.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.6262, allocations: 273 kB / 431.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.6262, allocations: 4 kB / 431.6 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.6263, allocations: 7.5 kB / 431.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.6267, allocations: 162 kB / 431.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6267, allocations: 0 / 431.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.6267, allocations: 0 / 431.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.6268, allocations: 7.953 kB / 431.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.6269, allocations: 30.75 kB / 431.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.6276, allocations: 457.4 kB / 432.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.6279, allocations: 123.7 kB / 432.3 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.628, allocations: 57.3 kB / 432.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.6281, allocations: 7.953 kB / 432.4 MB, free: 5.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.6283, allocations: 92.05 kB / 432.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.335e-06/0.6283, allocations: 0 / 432.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003898/0.6287, allocations: 122.3 kB / 432.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.6288, allocations: 169.5 kB / 432.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.6292, allocations: 240.2 kB / 433 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.6293, allocations: 29.64 kB / 433 MB, free: 4.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.6294, allocations: 122.1 kB / 433.1 MB, free: 4.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.6294, allocations: 19.62 kB / 433.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.6295, allocations: 4.094 kB / 433.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6296, allocations: 329.9 kB / 433.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.6297, allocations: 23.88 kB / 433.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.6299, allocations: 76.61 kB / 433.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.416e-05/0.63, allocations: 31.2 kB / 433.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.63, allocations: 4 kB / 433.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002966/0.6303, allocations: 116 kB / 433.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6303, allocations: 9.359 kB / 433.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6303, allocations: 160 / 433.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6304, allocations: 8 kB / 433.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6305, allocations: 23.3 kB / 433.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.6306, allocations: 0 / 433.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.6307, allocations: 4 kB / 433.8 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.6308, allocations: 8 kB / 433.8 MB, free: 4.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.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.0001192/0.6309, allocations: 116.3 kB / 433.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.631, allocations: 69.28 kB / 434 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.6314, allocations: 127.9 kB / 434.1 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6314, allocations: 0 / 434.1 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6314, allocations: 4 kB / 434.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6314, allocations: 0 / 434.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.6318, allocations: 234.8 kB / 434.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.6318, allocations: 0 / 434.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.6319, allocations: 15.88 kB / 434.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6319, allocations: 0 / 434.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.6319, allocations: 7.5 kB / 434.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.6319, allocations: 3.953 kB / 434.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6319, allocations: 11.98 kB / 434.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.6323, allocations: 208.5 kB / 434.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.6325, allocations: 123.7 kB / 434.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.6326, allocations: 7.625 kB / 434.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.6327, allocations: 7.984 kB / 434.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.6328, allocations: 4 kB / 434.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.6328, allocations: 7.438 kB / 434.7 MB, free: 3.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.6331, allocations: 192 kB / 434.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6331, allocations: 0 / 434.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.6335, allocations: 39.55 kB / 434.9 MB, free: 3.02 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,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,shiftSample1.y,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.00194/0.6355, allocations: 1.262 MB / 436.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.6358, allocations: 75.8 kB / 436.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6359, allocations: 0 / 436.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.636, allocations: 31.31 kB / 436.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.6366, allocations: 61.64 kB / 436.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.6375, allocations: 317 kB / 436.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.6379, allocations: 0.74 MB / 437.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.6381, allocations: 21.47 kB / 437.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6382, allocations: 54.78 kB / 437.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6382, allocations: 0 / 437.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.6708, allocations: 4.214 MB / 441.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.6712, allocations: 203.1 kB / 441.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.31, allocations: 3.938 kB / 441.9 MB, free: 12.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat does not exist to compare? outputFormat=mat