Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.064/1.064, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.653e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1887, allocations: 25.15 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08081/0.2696, allocations: 35.27 MB / 211.9 MB, free: 14.09 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.2699, allocations: 67.91 kB / 212 MB, free: 14.02 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.2808, allocations: 2.59 MB / 214.6 MB, free: 11.42 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2809, allocations: 3.938 kB / 214.6 MB, free: 11.42 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.2809, allocations: 4 kB / 214.6 MB, free: 11.41 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000632/0.2815, allocations: 418.3 kB / 215 MB, free: 10.96 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.2816, allocations: 12.03 kB / 215 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.2817, allocations: 46.55 kB / 215 MB, free: 10.89 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.2818, allocations: 15.81 kB / 215.1 MB, free: 10.88 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.282, allocations: 198.8 kB / 215.2 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2821, allocations: 8.234 kB / 215.3 MB, free: 10.63 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2821, allocations: 16 kB / 215.3 MB, free: 10.62 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2824, allocations: 107.3 kB / 215.4 MB, free: 10.51 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2825, allocations: 0 / 215.4 MB, free: 10.51 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.2825, allocations: 7.953 kB / 215.4 MB, free: 10.5 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.2825, allocations: 7.984 kB / 215.4 MB, free: 10.49 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2827, allocations: 64.47 kB / 215.5 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.284, allocations: 0.6059 MB / 216.1 MB, free: 9.746 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.2845, allocations: 74.59 kB / 216.1 MB, free: 9.664 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.2846, allocations: 32.95 kB / 216.2 MB, free: 9.629 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2846, allocations: 0 / 216.2 MB, free: 9.629 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2847, allocations: 42.52 kB / 216.2 MB, free: 9.578 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.2847, allocations: 0 / 216.2 MB, free: 9.578 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004495/0.2851, allocations: 106.4 kB / 216.3 MB, free: 9.465 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2852, allocations: 55.41 kB / 216.4 MB, free: 9.398 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2854, allocations: 133.8 kB / 216.5 MB, free: 9.258 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2854, allocations: 25.7 kB / 216.5 MB, free: 9.227 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2855, allocations: 190.2 kB / 216.7 MB, free: 9.039 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.2856, allocations: 27.64 kB / 216.7 MB, free: 9.012 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.2856, allocations: 0 / 216.7 MB, free: 9.012 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2857, allocations: 318.8 kB / 217 MB, free: 8.691 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.2858, allocations: 16 kB / 217.1 MB, free: 8.676 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.2859, allocations: 46.5 kB / 217.1 MB, free: 8.621 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.286, allocations: 20 kB / 217.1 MB, free: 8.602 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.286, allocations: 4 kB / 217.1 MB, free: 8.598 MB / 186.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000421/0.2864, allocations: 118.4 kB / 217.2 MB, free: 8.473 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2864, allocations: 4.781 kB / 217.3 MB, free: 8.469 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2865, allocations: 4 kB / 217.3 MB, free: 8.465 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.2867, allocations: 28.84 kB / 217.3 MB, free: 8.434 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2869, allocations: 23.88 kB / 217.3 MB, free: 8.41 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.2889, allocations: 1.572 MB / 218.9 MB, free: 6.688 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2891, allocations: 8 kB / 218.9 MB, free: 6.68 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2892, allocations: 3.984 kB / 218.9 MB, free: 6.676 MB / 186.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 (5): * Single equations (assignments): 4 * 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: 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 4} Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/0.2893, allocations: 108.9 kB / 219 MB, free: 6.562 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.2893, allocations: 11.86 kB / 219 MB, free: 6.551 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.2894, allocations: 24.61 kB / 219 MB, free: 6.527 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2894, allocations: 0 / 219 MB, free: 6.527 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2894, allocations: 0 / 219 MB, free: 6.527 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2894, allocations: 192 / 219 MB, free: 6.527 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.2897, allocations: 213.5 kB / 219.2 MB, free: 6.27 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2898, allocations: 3.938 kB / 219.2 MB, free: 6.266 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.2899, allocations: 7.984 kB / 219.3 MB, free: 6.258 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.2901, allocations: 36.8 kB / 219.3 MB, free: 6.219 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2901, allocations: 4 kB / 219.3 MB, free: 6.215 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.2919, allocations: 1.561 MB / 220.9 MB, free: 4.508 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.292, allocations: 0 / 220.9 MB, free: 4.508 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.2924, allocations: 208.2 kB / 221.1 MB, free: 4.285 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.2925, allocations: 92.92 kB / 221.1 MB, free: 4.176 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2925, allocations: 3.984 kB / 221.2 MB, free: 4.172 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.2927, allocations: 12.06 kB / 221.2 MB, free: 4.16 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.2928, allocations: 11.94 kB / 221.2 MB, free: 4.148 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.2928, allocations: 0 / 221.2 MB, free: 4.148 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2929, allocations: 114.3 kB / 221.3 MB, free: 4.039 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2929, allocations: 0 / 221.3 MB, free: 4.039 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005459/0.2935, allocations: 47.94 kB / 221.3 MB, free: 3.992 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007983/0.2943, allocations: 0.7412 MB / 222.1 MB, free: 3.223 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.2948, allocations: 161.7 kB / 222.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2948, allocations: 4 kB / 222.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.2951, allocations: 145.8 kB / 222.4 MB, free: 2.898 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.2955, allocations: 23.98 kB / 222.4 MB, free: 2.875 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.2962, allocations: 206.1 kB / 222.6 MB, free: 2.629 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2965, allocations: 0.7121 MB / 223.3 MB, free: 1.891 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.2966, allocations: 35.42 kB / 223.4 MB, free: 1.859 MB / 186.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2966, allocations: 0 / 223.4 MB, free: 1.859 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.462/2.759, allocations: 2.522 MB / 225.9 MB, free: 15.34 MB / 202.7 MB