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.131/2.131, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.695e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5303, allocations: 72.9 MB / 372.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5307, allocations: 67.72 kB / 372.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.5419, allocations: 2.639 MB / 375.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5419, allocations: 0 / 375.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.542, allocations: 2.438 kB / 375.6 MB, free: 11.99 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.0005813/0.5426, allocations: 414.6 kB / 376 MB, free: 11.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5426, allocations: 9.125 kB / 376 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.5427, allocations: 46.53 kB / 376 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.5428, allocations: 16.56 kB / 376.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.5431, allocations: 205 kB / 376.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.5431, allocations: 12.2 kB / 376.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.5432, allocations: 15.19 kB / 376.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.5435, allocations: 104.2 kB / 376.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5435, allocations: 0 / 376.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.5435, allocations: 4.531 kB / 376.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.5435, allocations: 4.312 kB / 376.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.5438, allocations: 65 kB / 376.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.5449, allocations: 0.5306 MB / 377 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.5453, allocations: 79.53 kB / 377.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.5454, allocations: 26.14 kB / 377.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.5454, allocations: 5.375 kB / 377.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.5454, allocations: 35.84 kB / 377.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.765e-06/0.5455, allocations: 0 / 377.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004404/0.5459, allocations: 106.6 kB / 377.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.546, allocations: 52.44 kB / 377.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.5461, allocations: 139.9 kB / 377.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.5461, allocations: 29.7 kB / 377.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.5462, allocations: 129.5 kB / 377.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.5463, allocations: 23.53 kB / 377.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.5463, allocations: 1.219 kB / 377.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.5464, allocations: 321.5 kB / 377.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.944e-05/0.5464, allocations: 14.72 kB / 377.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/0.5465, allocations: 37.92 kB / 378 MB, free: 10.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.5466, allocations: 25.23 kB / 378 MB, free: 10.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5466, allocations: 1 kB / 378 MB, free: 10.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004055/0.547, allocations: 123 kB / 378.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5471, allocations: 7.719 kB / 378.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5471, allocations: 1.531 kB / 378.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.5474, allocations: 37.95 kB / 378.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.5475, allocations: 15.42 kB / 378.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.5492, allocations: 1.521 MB / 379.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.5494, allocations: 4.984 kB / 379.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.5494, allocations: 2.469 kB / 379.7 MB, free: 8.723 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 8.145e-05/0.5495, allocations: 113.2 kB / 379.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.5495, allocations: 7.594 kB / 379.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.5496, allocations: 18.58 kB / 379.8 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5496, allocations: 5.297 kB / 379.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.5496, allocations: 0 / 379.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5496, allocations: 1.375 kB / 379.9 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.5499, allocations: 211.7 kB / 380.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5499, allocations: 1.344 kB / 380.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.55, allocations: 4.125 kB / 380.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.5502, allocations: 39.27 kB / 380.1 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.5503, allocations: 8.125 kB / 380.1 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.5518, allocations: 1.505 MB / 381.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5518, allocations: 128 / 381.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.5525, allocations: 211.9 kB / 381.8 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.5525, allocations: 84.03 kB / 381.9 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.5526, allocations: 1.844 kB / 381.9 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.5528, allocations: 11.52 kB / 381.9 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.5528, allocations: 9.094 kB / 381.9 MB, free: 22.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5529, allocations: 2.438 kB / 381.9 MB, free: 22.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.553, allocations: 110.3 kB / 382 MB, free: 22.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.553, allocations: 0 / 382 MB, free: 22.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005386/0.5536, allocations: 48.23 kB / 382.1 MB, free: 22.69 MB / 330.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.0007687/0.5543, allocations: 0.7366 MB / 382.8 MB, free: 22.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.5548, allocations: 172.3 kB / 383 MB, free: 21.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5548, allocations: 0 / 383 MB, free: 21.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.5551, allocations: 139.5 kB / 383.1 MB, free: 21.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5554, allocations: 24.58 kB / 383.1 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.556, allocations: 176.1 kB / 383.3 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.5564, allocations: 0.7125 MB / 384 MB, free: 20.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.5565, allocations: 6.406 kB / 384 MB, free: 20.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.5566, allocations: 32.89 kB / 384.1 MB, free: 20.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5566, allocations: 1.75 kB / 384.1 MB, free: 20.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07194/0.6286, allocations: 2.563 MB / 386.6 MB, free: 20.58 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.6289, allocations: 185.6 kB / 386.8 MB, free: 20.35 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.148, allocations: 0 / 386.8 MB, free: 20.35 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