Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.152/2.152, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.038e-05, allocations: 7.984 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.6052, allocations: 79.83 MB / 414.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.6056, allocations: 81.14 kB / 414.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.6162, allocations: 2.325 MB / 417 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6163, allocations: 0 / 417 MB, free: 11.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.6163, allocations: 12 kB / 417 MB, free: 11.98 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006828/0.617, allocations: 415.5 kB / 417.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6171, allocations: 8.031 kB / 417.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.6172, allocations: 41.94 kB / 417.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.6172, allocations: 19.8 kB / 417.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.6177, allocations: 233.5 kB / 417.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.6177, allocations: 15.39 kB / 417.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.6178, allocations: 7.562 kB / 417.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.6184, allocations: 244.8 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6184, allocations: 0 / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.6184, allocations: 3.25 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.6185, allocations: 4 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.6186, allocations: 45.19 kB / 418 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.6194, allocations: 444.2 kB / 418.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.6199, allocations: 253.5 kB / 418.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.6201, allocations: 103.5 kB / 418.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.6202, allocations: 15.31 kB / 418.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6202, allocations: 34.56 kB / 418.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.6203, allocations: 0 / 418.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000458/0.6207, allocations: 140.4 kB / 419 MB, free: 9.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.6209, allocations: 194.6 kB / 419.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.6211, allocations: 157.4 kB / 419.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.6212, allocations: 32.77 kB / 419.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.6213, allocations: 161.1 kB / 419.5 MB, free: 9.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.6213, allocations: 19.27 kB / 419.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.6214, allocations: 3 kB / 419.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6215, allocations: 317.8 kB / 419.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.6216, allocations: 18.12 kB / 419.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.6218, allocations: 124.7 kB / 420 MB, free: 8.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.6219, allocations: 39.02 kB / 420 MB, free: 8.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.6219, allocations: 4 kB / 420 MB, free: 8.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003424/0.6223, allocations: 130 kB / 420.2 MB, free: 8.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.6223, allocations: 10.97 kB / 420.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6223, allocations: 4.5 kB / 420.2 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.6224, allocations: 8 kB / 420.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.6227, allocations: 35.97 kB / 420.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.6227, allocations: 7.938 kB / 420.2 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.6229, allocations: 23.56 kB / 420.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.6229, allocations: 8 kB / 420.3 MB, free: 8.609 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001341/0.6231, allocations: 124.3 kB / 420.4 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.6234, allocations: 120.5 kB / 420.5 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.454e-05/0.6235, allocations: 28.88 kB / 420.5 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6235, allocations: 192 / 420.5 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6235, allocations: 8 kB / 420.5 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.6236, allocations: 7.922 kB / 420.5 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.624, allocations: 219.1 kB / 420.8 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.624, allocations: 0 / 420.8 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.6243, allocations: 39.97 kB / 420.8 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.6243, allocations: 0 / 420.8 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6244, allocations: 7.438 kB / 420.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.6244, allocations: 7.938 kB / 420.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6244, allocations: 4 kB / 420.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.6249, allocations: 373.6 kB / 421.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.625, allocations: 107.5 kB / 421.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.6251, allocations: 11.45 kB / 421.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.6253, allocations: 11.98 kB / 421.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.6254, allocations: 7.938 kB / 421.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.6254, allocations: 11.92 kB / 421.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.6256, allocations: 135.8 kB / 421.5 MB, free: 7.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6257, allocations: 0 / 421.5 MB, free: 7.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.6261, allocations: 23.16 kB / 421.5 MB, free: 7.383 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0009431/0.6271, allocations: 1.18 MB / 422.7 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.6275, allocations: 83.64 kB / 422.7 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6275, allocations: 4.375 kB / 422.8 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.6275, allocations: 15.12 kB / 422.8 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.6282, allocations: 83.83 kB / 422.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.6303, allocations: 397.4 kB / 423.2 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.6307, allocations: 0.728 MB / 424 MB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.6309, allocations: 38.86 kB / 424 MB, free: 4.863 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6309, allocations: 0 / 424 MB, free: 4.863 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.436/3.067, allocations: 2.306 MB / 426.3 MB, free: 2.594 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat