Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.1/2.1, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.899e-05, allocations: 4 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.953/2.065, allocations: 0.5967 GB / 0.9056 GB, free: 60.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/2.065, allocations: 84.83 kB / 0.9057 GB, free: 60.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6398/2.705, allocations: 101.5 MB / 1.005 GB, free: 113.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/2.705, allocations: 3.938 kB / 1.005 GB, free: 113.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.453e-05/2.705, allocations: 15.89 kB / 1.005 GB, free: 113.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002084/2.707, allocations: 0.8116 MB / 1.006 GB, free: 112.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/2.707, allocations: 14 kB / 1.006 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004949/2.708, allocations: 71.27 kB / 1.006 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/2.709, allocations: 417.8 kB / 1.006 GB, free: 112.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/2.709, allocations: 47.56 kB / 1.006 GB, free: 112.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/2.709, allocations: 21.16 kB / 1.006 GB, free: 112.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007494/2.71, allocations: 295.1 kB / 1.006 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00088/2.71, allocations: 451.2 kB / 1.007 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/2.711, allocations: 3.844 kB / 1.007 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/2.711, allocations: 3.781 kB / 1.007 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/2.711, allocations: 12.31 kB / 1.007 GB, free: 112 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/2.715, allocations: 2.373 MB / 1.009 GB, free: 110.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/2.715, allocations: 243.7 kB / 1.009 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/2.715, allocations: 110 kB / 1.01 GB, free: 110 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/2.716, allocations: 11.19 kB / 1.01 GB, free: 110 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/2.716, allocations: 199.1 kB / 1.01 GB, free: 109.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 1.366e-05/2.716, allocations: 3.938 kB / 1.01 GB, free: 109.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.009987/2.726, allocations: 1.925 MB / 1.012 GB, free: 108.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/2.726, allocations: 143.4 kB / 1.012 GB, free: 108.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/2.727, allocations: 315 kB / 1.012 GB, free: 108.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/2.727, allocations: 29.42 kB / 1.012 GB, free: 108.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/2.727, allocations: 307.1 kB / 1.012 GB, free: 108.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/2.727, allocations: 153.7 kB / 1.013 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/2.727, allocations: 0 / 1.013 GB, free: 108.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/2.727, allocations: 341.2 kB / 1.013 GB, free: 107.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/2.727, allocations: 137.8 kB / 1.013 GB, free: 107.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/2.728, allocations: 343.4 kB / 1.013 GB, free: 107.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/2.729, allocations: 211 kB / 1.014 GB, free: 107.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/2.729, allocations: 3.938 kB / 1.014 GB, free: 107.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001397/2.73, allocations: 0.5487 MB / 1.014 GB, free: 107.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/2.73, allocations: 37.97 kB / 1.014 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/2.73, allocations: 7.344 kB / 1.014 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/2.731, allocations: 104.4 kB / 1.014 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/2.732, allocations: 156.3 kB / 1.014 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006458/2.732, allocations: 0.6783 MB / 1.015 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/2.733, allocations: 57.66 kB / 1.015 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/2.733, allocations: 46.39 kB / 1.015 GB, free: 106.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001979/2.734, allocations: 131.1 kB / 1.015 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001063/2.735, allocations: 422 kB / 1.016 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/2.735, allocations: 56.08 kB / 1.016 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/2.737, allocations: 0.5132 MB / 1.016 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/2.737, allocations: 6.281 kB / 1.016 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.737, allocations: 0 / 1.016 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/2.737, allocations: 7.844 kB / 1.016 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/2.739, allocations: 1.03 MB / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/2.739, allocations: 0 / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/2.74, allocations: 120.9 kB / 1.017 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/2.741, allocations: 104.8 kB / 1.017 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/2.741, allocations: 12.98 kB / 1.017 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/2.743, allocations: 1.622 MB / 1.019 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/2.743, allocations: 7.766 kB / 1.019 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/2.745, allocations: 0.7776 MB / 1.02 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/2.745, allocations: 168 kB / 1.02 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/2.745, allocations: 0 / 1.02 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/2.746, allocations: 54.69 kB / 1.02 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/2.746, allocations: 58.3 kB / 1.02 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/2.746, allocations: 38.34 kB / 1.02 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003344/2.747, allocations: 239.5 kB / 1.02 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.747, allocations: 0 / 1.02 GB, free: 103.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001375/2.748, allocations: 280.7 kB / 1.021 GB, free: 103.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003906/2.752, allocations: 2.407 MB / 1.023 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/2.753, allocations: 455.2 kB / 1.023 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.753, allocations: 3.344 kB / 1.023 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/2.754, allocations: 316.5 kB / 1.024 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/2.755, allocations: 172.7 kB / 1.024 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/2.766, allocations: 2.417 MB / 1.026 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/2.766, allocations: 0.8603 MB / 1.027 GB, free: 99.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/2.767, allocations: 198.4 kB / 1.027 GB, free: 99.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/2.767, allocations: 0 / 1.027 GB, free: 99.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.188/5.954, allocations: 16.63 MB / 1.043 GB, free: 90.05 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat