Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.477e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2716, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4106, allocations: 65.33 MB / 323.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4109, allocations: 71.97 kB / 323.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007089/0.418, allocations: 1.758 MB / 325.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4181, allocations: 0 / 325.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4181, allocations: 0 / 325.5 MB, free: 10.67 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004757/0.4186, allocations: 366.3 kB / 325.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4187, allocations: 8.031 kB / 325.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.4188, allocations: 11.91 kB / 325.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.419, allocations: 174.9 kB / 326 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.419, allocations: 4 kB / 326 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.419, allocations: 11.94 kB / 326 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001714/0.4192, allocations: 47.95 kB / 326.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4194, allocations: 69.67 kB / 326.2 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4194, allocations: 3.906 kB / 326.2 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4195, allocations: 0 / 326.2 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4195, allocations: 4 kB / 326.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.4203, allocations: 369 kB / 326.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4205, allocations: 62.73 kB / 326.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.4206, allocations: 36.8 kB / 326.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4206, allocations: 0 / 326.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4207, allocations: 30.56 kB / 326.7 MB, free: 9.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.4207, allocations: 3.938 kB / 326.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002559/0.4209, allocations: 73.67 kB / 326.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.421, allocations: 51.41 kB / 326.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.4211, allocations: 97 kB / 326.9 MB, free: 9.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4211, allocations: 25.7 kB / 326.9 MB, free: 9.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.4212, allocations: 170.3 kB / 327.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.4213, allocations: 31.55 kB / 327.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.4213, allocations: 0 / 327.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4214, allocations: 314.8 kB / 327.4 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.4215, allocations: 24 kB / 327.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.4216, allocations: 37.08 kB / 327.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.4216, allocations: 27.92 kB / 327.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4217, allocations: 0 / 327.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002094/0.4219, allocations: 97.47 kB / 327.6 MB, free: 8.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4219, allocations: 7.953 kB / 327.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4219, allocations: 8.047 kB / 327.6 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.422, allocations: 4 kB / 327.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.4222, allocations: 23.94 kB / 327.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4222, allocations: 0 / 327.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.4223, allocations: 7.984 kB / 327.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4223, allocations: 4 kB / 327.6 MB, free: 8.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.975e-05/0.4224, allocations: 101 kB / 327.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001657/0.4226, allocations: 77.53 kB / 327.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.4226, allocations: 11.8 kB / 327.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.4227, allocations: 12.61 kB / 327.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4227, allocations: 4 kB / 327.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4227, allocations: 0 / 327.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4227, allocations: 256 / 327.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.423, allocations: 162.3 kB / 328 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.423, allocations: 4 kB / 328 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.4232, allocations: 19.98 kB / 328 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4232, allocations: 0 / 328 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4232, allocations: 7.953 kB / 328 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4232, allocations: 0 / 328 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4232, allocations: 4 kB / 328 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.4235, allocations: 191.3 kB / 328.2 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.4236, allocations: 81.14 kB / 328.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4236, allocations: 0 / 328.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.4237, allocations: 3.953 kB / 328.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.4237, allocations: 7.984 kB / 328.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4237, allocations: 0 / 328.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.4238, allocations: 87.34 kB / 328.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4238, allocations: 0 / 328.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.4242, allocations: 27.84 kB / 328.4 MB, free: 7.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005264/0.4247, allocations: 0.7164 MB / 329.1 MB, free: 6.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.4249, allocations: 44 kB / 329.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4249, allocations: 8.188 kB / 329.2 MB, free: 6.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.425, allocations: 19.94 kB / 329.2 MB, free: 6.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4253, allocations: 15.55 kB / 329.2 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.4261, allocations: 295.8 kB / 329.5 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.4264, allocations: 0.6963 MB / 330.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.4265, allocations: 19.44 kB / 330.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4265, allocations: 0 / 330.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.454/2.88, allocations: 1.343 MB / 331.6 MB, free: 4.184 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat