Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.461/2.461, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.978e-05, allocations: 4 kB / 284.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 50.37 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4744/0.592, allocations: 82.15 MB / 416.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.5924, allocations: 82.2 kB / 417 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02688/0.6193, allocations: 6.01 MB / 423 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6193, allocations: 4 kB / 423 MB, free: 7.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.6194, allocations: 11.98 kB / 423.1 MB, free: 7.074 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.0008178/0.6202, allocations: 493.3 kB / 423.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.6203, allocations: 12.03 kB / 423.5 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.6203, allocations: 33.75 kB / 423.6 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.6204, allocations: 31.06 kB / 423.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.6211, allocations: 287.3 kB / 423.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.6211, allocations: 14.58 kB / 423.9 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.6211, allocations: 8 kB / 423.9 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.6216, allocations: 166.5 kB / 424.1 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6216, allocations: 0 / 424.1 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.6216, allocations: 4 kB / 424.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.6217, allocations: 7.938 kB / 424.1 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.6218, allocations: 49.28 kB / 424.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008409/0.6227, allocations: 483.6 kB / 424.6 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.623, allocations: 140.3 kB / 424.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.6231, allocations: 57.8 kB / 424.8 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.6232, allocations: 8 kB / 424.8 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.6234, allocations: 98.34 kB / 424.9 MB, free: 5.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.6234, allocations: 0 / 424.9 MB, free: 5.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004288/0.6238, allocations: 134.7 kB / 425 MB, free: 5.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.624, allocations: 188 kB / 425.2 MB, free: 4.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.6245, allocations: 300.5 kB / 425.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.6246, allocations: 29.7 kB / 425.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.6247, allocations: 124.2 kB / 425.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.6248, allocations: 22.98 kB / 425.7 MB, free: 4.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.6248, allocations: 4 kB / 425.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6249, allocations: 333.4 kB / 426 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.625, allocations: 30.42 kB / 426 MB, free: 4.055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.6252, allocations: 94.59 kB / 426.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.6253, allocations: 38.36 kB / 426.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6253, allocations: 3.938 kB / 426.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003308/0.6257, allocations: 136.5 kB / 426.3 MB, free: 3.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6257, allocations: 4 kB / 426.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6257, allocations: 4 kB / 426.3 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6258, allocations: 0 / 426.3 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.626, allocations: 24.14 kB / 426.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.6261, allocations: 4 kB / 426.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.6262, allocations: 11.94 kB / 426.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.6263, allocations: 7.062 kB / 426.4 MB, free: 3.75 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,sample.u,shiftSample.y,hold.u,hold.y,shiftSample.u,sample.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.0001374/0.6264, allocations: 120.6 kB / 426.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6266, allocations: 73.28 kB / 426.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.627, allocations: 122.7 kB / 426.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.627, allocations: 8.062 kB / 426.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.627, allocations: 0 / 426.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.627, allocations: 0 / 426.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.6274, allocations: 260.5 kB / 426.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6274, allocations: 0 / 426.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.6276, allocations: 16 kB / 427 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.6276, allocations: 0 / 427 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.6276, allocations: 11.55 kB / 427 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.6277, allocations: 8.062 kB / 427 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6277, allocations: 4 kB / 427 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.6281, allocations: 212.2 kB / 427.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.6283, allocations: 123.5 kB / 427.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.6284, allocations: 4 kB / 427.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.6285, allocations: 19.11 kB / 427.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.6286, allocations: 11.45 kB / 427.3 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.6286, allocations: 7.984 kB / 427.3 MB, free: 2.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003913/0.629, allocations: 236.2 kB / 427.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.228e-06/0.6291, allocations: 0 / 427.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.6296, allocations: 61.8 kB / 427.6 MB, free: 2.504 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,sample.u,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.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.002096/0.6317, allocations: 1.267 MB / 428.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.6321, allocations: 91.7 kB / 429 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6321, allocations: 0 / 429 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.6322, allocations: 40.22 kB / 429 MB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.6329, allocations: 61.67 kB / 429.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.634, allocations: 377.7 kB / 429.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.6344, allocations: 0.7553 MB / 430.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.6346, allocations: 29.64 kB / 430.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.6348, allocations: 64.09 kB / 430.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.953e-06/0.6348, allocations: 0 / 430.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.6667, allocations: 4.876 MB / 435.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/0.6671, allocations: 216.8 kB / 435.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.465, allocations: 0 / 435.4 MB, free: 10.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold_res.mat does not exist to compare? outputFormat=mat