Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.505/2.505, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.957e-05, allocations: 4 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5648, allocations: 82.06 MB / 416.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.5652, allocations: 85.44 kB / 416.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02862/0.5938, allocations: 5.824 MB / 422.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5939, allocations: 0 / 422.8 MB, free: 7.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.909e-05/0.5939, allocations: 4 kB / 422.8 MB, free: 7.359 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.0008096/0.5947, allocations: 483.6 kB / 423.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5948, allocations: 12.03 kB / 423.3 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.5949, allocations: 41.44 kB / 423.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.5949, allocations: 23.72 kB / 423.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.5955, allocations: 254.6 kB / 423.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.5956, allocations: 11.39 kB / 423.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.5956, allocations: 7.5 kB / 423.6 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.596, allocations: 163.9 kB / 423.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5961, allocations: 3.984 kB / 423.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.5961, allocations: 7.312 kB / 423.8 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5961, allocations: 0 / 423.8 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.5963, allocations: 34.36 kB / 423.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/0.5971, allocations: 460.6 kB / 424.2 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5974, allocations: 134.8 kB / 424.4 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.5975, allocations: 48.81 kB / 424.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.5976, allocations: 3.688 kB / 424.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.5978, allocations: 95.47 kB / 424.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.595e-06/0.5978, allocations: 0 / 424.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004181/0.5982, allocations: 126.2 kB / 424.6 MB, free: 5.418 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5984, allocations: 158.2 kB / 424.8 MB, free: 5.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.5988, allocations: 249.8 kB / 425 MB, free: 5.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5988, allocations: 29.64 kB / 425.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.5989, allocations: 120.2 kB / 425.2 MB, free: 4.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.599, allocations: 23.36 kB / 425.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.599, allocations: 3.375 kB / 425.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5992, allocations: 334.2 kB / 425.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.5993, allocations: 23.11 kB / 425.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.5994, allocations: 73.12 kB / 425.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.5995, allocations: 33.36 kB / 425.7 MB, free: 4.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5995, allocations: 0 / 425.7 MB, free: 4.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002979/0.5998, allocations: 120.8 kB / 425.8 MB, free: 4.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5999, allocations: 4 kB / 425.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5999, allocations: 4 kB / 425.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5999, allocations: 0 / 425.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.6001, allocations: 19.92 kB / 425.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.6001, allocations: 0 / 425.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.6003, allocations: 15.16 kB / 425.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.6003, allocations: 8.156 kB / 425.8 MB, free: 4.262 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.000123/0.6004, allocations: 127.5 kB / 426 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6006, allocations: 64.33 kB / 426 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.6009, allocations: 106.6 kB / 426.1 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.6009, allocations: 4 kB / 426.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6009, allocations: 0 / 426.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.601, allocations: 0 / 426.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.6013, allocations: 242.7 kB / 426.4 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6013, allocations: 8.062 kB / 426.4 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.6014, allocations: 7.938 kB / 426.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.6014, allocations: 4 kB / 426.4 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.6014, allocations: 3.984 kB / 426.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6014, allocations: 4 kB / 426.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6014, allocations: 0 / 426.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.6018, allocations: 215.1 kB / 426.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.602, allocations: 111.5 kB / 426.7 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.6021, allocations: 11.42 kB / 426.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6022, allocations: 7.938 kB / 426.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.6023, allocations: 11.94 kB / 426.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.6023, allocations: 10.81 kB / 426.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.6026, allocations: 191 kB / 426.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6026, allocations: 0 / 426.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000411/0.603, allocations: 46.47 kB / 427 MB, free: 3.117 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.001884/0.6049, allocations: 1.248 MB / 428.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.6053, allocations: 73.67 kB / 428.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6053, allocations: 4 kB / 428.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.6055, allocations: 30.8 kB / 428.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.606, allocations: 58.09 kB / 428.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.607, allocations: 311 kB / 428.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.6074, allocations: 0.7431 MB / 429.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.6076, allocations: 25.31 kB / 429.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6077, allocations: 47.23 kB / 429.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6077, allocations: 0 / 429.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.6365, allocations: 4.226 MB / 433.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.6367, allocations: 220.8 kB / 433.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.221, allocations: 0 / 433.9 MB, free: 12.24 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat does not exist to compare? outputFormat=mat