Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.534e-05, allocations: 7.984 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5171, allocations: 73.82 MB / 373.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5174, allocations: 71.38 kB / 373.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01742/0.5349, allocations: 3.957 MB / 377.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5349, allocations: 1.281 kB / 377.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.535, allocations: 4.156 kB / 377.8 MB, free: 12.17 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009051/0.5359, allocations: 489.3 kB / 378.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.5359, allocations: 9 kB / 378.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.135e-05/0.536, allocations: 54.98 kB / 378.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.5361, allocations: 29.56 kB / 378.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5365, allocations: 235.7 kB / 378.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5365, allocations: 17.84 kB / 378.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.5366, allocations: 20.59 kB / 378.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.5371, allocations: 209.5 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.5372, allocations: 2.859 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.5372, allocations: 7.219 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.5372, allocations: 5.5 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.5377, allocations: 144.5 kB / 379 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.5396, allocations: 0.8467 MB / 379.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.5401, allocations: 151.8 kB / 380 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.5404, allocations: 96.08 kB / 380.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.5404, allocations: 6.188 kB / 380.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.5405, allocations: 33.44 kB / 380.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.985e-06/0.5405, allocations: 1.375 kB / 380.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.000861/0.5414, allocations: 198.3 kB / 380.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5414, allocations: 56.69 kB / 380.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.5416, allocations: 161.2 kB / 380.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.5417, allocations: 30.3 kB / 380.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.5418, allocations: 146.4 kB / 380.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.5419, allocations: 58.11 kB / 380.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.5419, allocations: 1.156 kB / 380.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.542, allocations: 331.2 kB / 381.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5421, allocations: 46.11 kB / 381.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.5423, allocations: 86.84 kB / 381.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5425, allocations: 53.45 kB / 381.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5425, allocations: 0 / 381.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006656/0.5432, allocations: 216.4 kB / 381.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5432, allocations: 4.969 kB / 381.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5432, allocations: 5.5 kB / 381.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.5454, allocations: 220.5 kB / 381.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.5458, allocations: 36.61 kB / 381.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/0.5464, allocations: 0.6049 MB / 382.4 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.5467, allocations: 20.67 kB / 382.4 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.5467, allocations: 4.719 kB / 382.4 MB, free: 9.5 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 (15): * Single equations (assignments): 14 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.5469, allocations: 115.7 kB / 382.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.5469, allocations: 22.02 kB / 382.5 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/0.5476, allocations: 215.8 kB / 382.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5476, allocations: 6.031 kB / 382.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5476, allocations: 1.125 kB / 382.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5476, allocations: 1.594 kB / 382.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5489, allocations: 0.5903 MB / 383.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5489, allocations: 4.016 kB / 383.3 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.5493, allocations: 31.42 kB / 383.4 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/0.5513, allocations: 217.1 kB / 383.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.5514, allocations: 7.297 kB / 383.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005722/0.5519, allocations: 0.6239 MB / 384.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.552, allocations: 1.344 kB / 384.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.5529, allocations: 395.2 kB / 384.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.553, allocations: 108.7 kB / 384.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.5531, allocations: 6.203 kB / 384.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.5534, allocations: 9.281 kB / 384.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.5534, allocations: 13.44 kB / 384.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.5535, allocations: 4 kB / 384.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.5536, allocations: 133.5 kB / 384.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5537, allocations: 0 / 384.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.5541, allocations: 70.56 kB / 384.9 MB, free: 8.043 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.5553, allocations: 1.013 MB / 385.9 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005679/0.5559, allocations: 145 kB / 386.1 MB, free: 7.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.556, allocations: 0 / 386.1 MB, free: 7.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.5562, allocations: 77.09 kB / 386.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.5567, allocations: 22.61 kB / 386.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.5581, allocations: 446.1 kB / 386.6 MB, free: 6.969 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.5588, allocations: 0.7464 MB / 387.4 MB, free: 22.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.5589, allocations: 15.86 kB / 387.4 MB, free: 22.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5591, allocations: 59.22 kB / 387.4 MB, free: 22.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5591, allocations: 0 / 387.4 MB, free: 22.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.5868, allocations: 4.245 MB / 391.7 MB, free: 21.76 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.5871, allocations: 182 kB / 391.9 MB, free: 21.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.137, allocations: 0 / 391.9 MB, free: 21.54 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat