Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.584e-05/4.597e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2901, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4144, allocations: 67.72 MB / 331.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4147, allocations: 71.95 kB / 331.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.4266, allocations: 2.678 MB / 334.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4267, allocations: 4 kB / 334.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.4267, allocations: 4 kB / 334.3 MB, free: 3.129 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007745/0.4275, allocations: 406.4 kB / 334.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.069e-05/0.4276, allocations: 12.03 kB / 334.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.4277, allocations: 42.56 kB / 334.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.4279, allocations: 19.8 kB / 334.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4282, allocations: 204.2 kB / 335 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4282, allocations: 12.23 kB / 335 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.4283, allocations: 15.95 kB / 335 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.4286, allocations: 103.3 kB / 335.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4287, allocations: 0 / 335.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.4287, allocations: 4 kB / 335.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4287, allocations: 7.984 kB / 335.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.429, allocations: 64.47 kB / 335.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4303, allocations: 0.5384 MB / 335.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.4308, allocations: 78.62 kB / 335.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.4309, allocations: 28.98 kB / 335.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.4309, allocations: 0 / 335.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.431, allocations: 30.56 kB / 335.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.431, allocations: 0 / 335.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004904/0.4315, allocations: 106.4 kB / 336 MB, free: 1.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4315, allocations: 59.36 kB / 336 MB, free: 1.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.4318, allocations: 141.2 kB / 336.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.4318, allocations: 25.7 kB / 336.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4319, allocations: 135.5 kB / 336.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.432, allocations: 15.72 kB / 336.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.432, allocations: 4 kB / 336.4 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4321, allocations: 318.8 kB / 336.7 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.4322, allocations: 16 kB / 336.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.4323, allocations: 42.52 kB / 336.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.4324, allocations: 23.98 kB / 336.8 MB, free: 488 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4324, allocations: 0 / 336.8 MB, free: 488 kB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004464/0.4329, allocations: 126.3 kB / 336.9 MB, free: 352 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.433, allocations: 4 kB / 336.9 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.433, allocations: 4 kB / 336.9 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.4333, allocations: 36.84 kB / 336.9 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4334, allocations: 15.92 kB / 336.9 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.4357, allocations: 1.515 MB / 338.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.4359, allocations: 11.91 kB / 338.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4359, allocations: 4 kB / 338.5 MB, free: 14.61 MB / 298.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 0.0001131/0.436, allocations: 114.1 kB / 338.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.4361, allocations: 15.89 kB / 338.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.4361, allocations: 12.62 kB / 338.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4361, allocations: 0 / 338.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4362, allocations: 0 / 338.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4362, allocations: 0 / 338.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.4365, allocations: 217.5 kB / 338.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4365, allocations: 4 kB / 338.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.4367, allocations: 7.984 kB / 338.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/0.4369, allocations: 40.84 kB / 338.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4369, allocations: 0 / 338.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.4389, allocations: 1.503 MB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.439, allocations: 0 / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.4394, allocations: 208.2 kB / 340.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4396, allocations: 97.12 kB / 340.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.4396, allocations: 3.953 kB / 340.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4398, allocations: 19.98 kB / 340.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.4399, allocations: 4 kB / 340.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4399, allocations: 0 / 340.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.44, allocations: 111.8 kB / 340.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.44, allocations: 0 / 340.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005703/0.4406, allocations: 39.91 kB / 340.8 MB, free: 12 MB / 298.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.0008843/0.4415, allocations: 0.7405 MB / 341.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.4421, allocations: 165.8 kB / 341.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4421, allocations: 0 / 341.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4424, allocations: 153.6 kB / 341.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4427, allocations: 16.62 kB / 341.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.4434, allocations: 179.9 kB / 342.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4438, allocations: 0.7121 MB / 342.8 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.274e-05/0.4439, allocations: 8.906 kB / 342.8 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.444, allocations: 27.42 kB / 342.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.444, allocations: 0 / 342.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.4723, allocations: 2.559 MB / 345.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.4726, allocations: 183.5 kB / 345.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.729, allocations: 4 kB / 345.6 MB, free: 7.191 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat