Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.884e-05, allocations: 9.25 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09937, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5296, allocations: 72.89 MB / 372.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.53, allocations: 67.08 kB / 372.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.541, allocations: 2.651 MB / 375.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.541, allocations: 0 / 375.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.5411, allocations: 2.188 kB / 375.6 MB, free: 12.27 MB / 314.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.0005711/0.5416, allocations: 417.3 kB / 376 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5417, allocations: 9.094 kB / 376 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.5418, allocations: 41.38 kB / 376 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5419, allocations: 20.27 kB / 376 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.5422, allocations: 200.8 kB / 376.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5422, allocations: 15.8 kB / 376.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.5422, allocations: 8 kB / 376.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.5425, allocations: 108.2 kB / 376.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5426, allocations: 0 / 376.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.5426, allocations: 3.938 kB / 376.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5426, allocations: 3.312 kB / 376.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.5429, allocations: 68.45 kB / 376.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.5439, allocations: 0.5332 MB / 377 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.5443, allocations: 85.73 kB / 377.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.5444, allocations: 24.45 kB / 377.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.5445, allocations: 1.094 kB / 377.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.5445, allocations: 37.08 kB / 377.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.5445, allocations: 0 / 377.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004306/0.545, allocations: 107 kB / 377.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.545, allocations: 56.5 kB / 377.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.5452, allocations: 136.2 kB / 377.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.5452, allocations: 32.75 kB / 377.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.5453, allocations: 120.5 kB / 377.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.5453, allocations: 21.59 kB / 377.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5453, allocations: 0 / 377.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.5454, allocations: 323.1 kB / 377.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.5455, allocations: 15.62 kB / 377.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.5455, allocations: 49.08 kB / 378 MB, free: 10.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.5456, allocations: 19.33 kB / 378 MB, free: 10.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5456, allocations: 2.859 kB / 378 MB, free: 10.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003613/0.546, allocations: 129.2 kB / 378.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.5461, allocations: 5.812 kB / 378.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5461, allocations: 5.219 kB / 378.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.5464, allocations: 36.42 kB / 378.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.5465, allocations: 9.578 kB / 378.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.5482, allocations: 1.514 MB / 379.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.5484, allocations: 8.781 kB / 379.7 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.5484, allocations: 7.188 kB / 379.7 MB, free: 9.012 MB / 314.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 7.841e-05/0.5485, allocations: 114.4 kB / 379.8 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.5486, allocations: 9.719 kB / 379.8 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.5486, allocations: 13.45 kB / 379.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5486, allocations: 8.984 kB / 379.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5486, allocations: 1.266 kB / 379.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5487, allocations: 3.984 kB / 379.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.5489, allocations: 213.3 kB / 380 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.549, allocations: 0 / 380 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.549, allocations: 10.61 kB / 380.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.5493, allocations: 41.53 kB / 380.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5493, allocations: 0 / 380.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.5507, allocations: 1.501 MB / 381.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5507, allocations: 0.7031 kB / 381.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.5512, allocations: 208.7 kB / 381.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.5512, allocations: 84.36 kB / 381.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.5512, allocations: 5.281 kB / 381.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5514, allocations: 7.297 kB / 381.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.5515, allocations: 5.219 kB / 381.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5515, allocations: 7.312 kB / 381.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.5516, allocations: 107.4 kB / 382 MB, free: 6.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5516, allocations: 0 / 382 MB, free: 6.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004848/0.5521, allocations: 48.27 kB / 382.1 MB, free: 6.973 MB / 314.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.000907/0.553, allocations: 0.7372 MB / 382.8 MB, free: 22.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.5535, allocations: 181.8 kB / 383 MB, free: 22.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5535, allocations: 4.312 kB / 383 MB, free: 22.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.5538, allocations: 146.6 kB / 383.1 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.5541, allocations: 16.56 kB / 383.1 MB, free: 22.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.5548, allocations: 181.9 kB / 383.3 MB, free: 21.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.5551, allocations: 0.7147 MB / 384 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.155e-05/0.5552, allocations: 8.281 kB / 384 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.5553, allocations: 32.92 kB / 384.1 MB, free: 21.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5553, allocations: 0 / 384.1 MB, free: 21.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.5857, allocations: 2.574 MB / 386.6 MB, free: 20.85 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.586, allocations: 186.6 kB / 386.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.965, allocations: 0 / 386.8 MB, free: 20.62 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat