Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.79e-05, allocations: 4 kB / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 50.41 MB / 343.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6025, allocations: 81.59 MB / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.6029, allocations: 82.89 kB / 424.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02841/0.6314, allocations: 6.193 MB / 431 MB, free: 7.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6314, allocations: 0 / 431 MB, free: 7.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.6315, allocations: 8 kB / 431 MB, free: 7.043 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.0008921/0.6324, allocations: 491.2 kB / 431.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.6324, allocations: 12.03 kB / 431.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.6325, allocations: 34.25 kB / 431.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.6326, allocations: 27.7 kB / 431.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.6333, allocations: 296.1 kB / 431.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.6333, allocations: 11.75 kB / 431.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.6334, allocations: 11.75 kB / 431.9 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.6338, allocations: 161.7 kB / 432.1 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6338, allocations: 0 / 432.1 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.6339, allocations: 15.45 kB / 432.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.6339, allocations: 0 / 432.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.6341, allocations: 40.55 kB / 432.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009532/0.635, allocations: 488.5 kB / 432.6 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.6354, allocations: 139.5 kB / 432.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.6355, allocations: 53.83 kB / 432.8 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.6356, allocations: 8 kB / 432.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.6359, allocations: 95.92 kB / 432.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.956e-06/0.6359, allocations: 0 / 432.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004733/0.6364, allocations: 143 kB / 433 MB, free: 4.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.6365, allocations: 187.1 kB / 433.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.6371, allocations: 293.1 kB / 433.5 MB, free: 4.535 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.6371, allocations: 29.7 kB / 433.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.6373, allocations: 127.3 kB / 433.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.6373, allocations: 27.58 kB / 433.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.6373, allocations: 3.438 kB / 433.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6375, allocations: 337.9 kB / 434 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.6376, allocations: 26.38 kB / 434 MB, free: 4.027 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.6378, allocations: 93.78 kB / 434.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.6379, allocations: 35.17 kB / 434.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.6379, allocations: 0 / 434.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003809/0.6383, allocations: 138.6 kB / 434.3 MB, free: 3.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6384, allocations: 5.406 kB / 434.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6384, allocations: 4 kB / 434.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6384, allocations: 0 / 434.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.6387, allocations: 31.14 kB / 434.3 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.6387, allocations: 3.938 kB / 434.3 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.6389, allocations: 11.91 kB / 434.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.6389, allocations: 7.312 kB / 434.3 MB, free: 3.719 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.0001516/0.6391, allocations: 116.5 kB / 434.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6393, allocations: 72.81 kB / 434.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.6397, allocations: 128.7 kB / 434.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6397, allocations: 4 kB / 434.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.6397, allocations: 128 / 434.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.6397, allocations: 4 kB / 434.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.6401, allocations: 256.5 kB / 434.9 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6401, allocations: 3.938 kB / 434.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.6403, allocations: 23.92 kB / 434.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6403, allocations: 0 / 434.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.6404, allocations: 7.953 kB / 434.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6404, allocations: 0 / 434.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.6404, allocations: 0 / 434.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.6408, allocations: 223.8 kB / 435.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.641, allocations: 119.5 kB / 435.3 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.6411, allocations: 14.92 kB / 435.3 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.6413, allocations: 7.125 kB / 435.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.6414, allocations: 11.92 kB / 435.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.6414, allocations: 7.375 kB / 435.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004175/0.6418, allocations: 234.2 kB / 435.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6418, allocations: 0 / 435.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004659/0.6423, allocations: 54.55 kB / 435.6 MB, free: 2.484 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.002114/0.6444, allocations: 1.271 MB / 436.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.6449, allocations: 99.33 kB / 437 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6449, allocations: 320 / 437 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.6451, allocations: 42.05 kB / 437 MB, free: 1.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.6457, allocations: 68.3 kB / 437.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.6469, allocations: 370.2 kB / 437.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.6474, allocations: 0.7584 MB / 438.2 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.6476, allocations: 25.78 kB / 438.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.6478, allocations: 69.19 kB / 438.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6478, allocations: 0 / 438.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.6845, allocations: 4.854 MB / 443.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003571/0.6849, allocations: 207.1 kB / 443.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.388, allocations: 0 / 443.4 MB, free: 10.97 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat does not exist to compare? outputFormat=mat