Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.315e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09778, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5346, allocations: 77.15 MB / 394.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5349, allocations: 71.27 kB / 394.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.5456, allocations: 2.69 MB / 396.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5456, allocations: 0 / 396.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.5457, allocations: 4 kB / 396.9 MB, free: 8.16 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.0006043/0.5463, allocations: 405.5 kB / 397.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5463, allocations: 8.031 kB / 397.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.5464, allocations: 41.12 kB / 397.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.5465, allocations: 27.55 kB / 397.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5468, allocations: 198.2 kB / 397.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5468, allocations: 11.81 kB / 397.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.5469, allocations: 11.38 kB / 397.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.5472, allocations: 111.3 kB / 397.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5472, allocations: 0 / 397.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.5472, allocations: 5.734 kB / 397.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5472, allocations: 4 kB / 397.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.5474, allocations: 68.14 kB / 397.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.5486, allocations: 0.6 MB / 398.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.549, allocations: 81.27 kB / 398.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5491, allocations: 35.78 kB / 398.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5491, allocations: 0 / 398.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5491, allocations: 34.5 kB / 398.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.5492, allocations: 0 / 398.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004124/0.5496, allocations: 113.6 kB / 398.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5496, allocations: 55.41 kB / 398.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.5498, allocations: 130 kB / 398.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.5498, allocations: 29.7 kB / 398.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.5499, allocations: 122.8 kB / 399 MB, free: 6.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.55, allocations: 23.06 kB / 399 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.55, allocations: 0 / 399 MB, free: 6.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5501, allocations: 322.6 kB / 399.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.5502, allocations: 15.5 kB / 399.3 MB, free: 5.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.5503, allocations: 37.95 kB / 399.4 MB, free: 5.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.5504, allocations: 27.11 kB / 399.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5504, allocations: 0 / 399.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003562/0.5507, allocations: 124.7 kB / 399.5 MB, free: 5.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5508, allocations: 8 kB / 399.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5508, allocations: 3.984 kB / 399.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.551, allocations: 36.16 kB / 399.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.5512, allocations: 11.5 kB / 399.6 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.553, allocations: 1.516 MB / 401.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5532, allocations: 12.89 kB / 401.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5532, allocations: 8.922 kB / 401.1 MB, free: 3.949 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 9.508e-05/0.5533, allocations: 113.3 kB / 401.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.5533, allocations: 7.906 kB / 401.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.5534, allocations: 13.06 kB / 401.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5534, allocations: 3.984 kB / 401.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.5534, allocations: 3.938 kB / 401.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5534, allocations: 0 / 401.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.5538, allocations: 222.2 kB / 401.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5538, allocations: 0 / 401.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.5538, allocations: 4.188 kB / 401.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.554, allocations: 39.33 kB / 401.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5541, allocations: 3.938 kB / 401.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.5557, allocations: 1.502 MB / 403 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5557, allocations: 4.031 kB / 403 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.5561, allocations: 201.9 kB / 403.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.5562, allocations: 84.95 kB / 403.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.5562, allocations: 11 kB / 403.3 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.5564, allocations: 7.984 kB / 403.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.5564, allocations: 7.938 kB / 403.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.5564, allocations: 3.125 kB / 403.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.5566, allocations: 111.4 kB / 403.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5566, allocations: 0 / 403.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.5571, allocations: 39.47 kB / 403.5 MB, free: 1.535 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.0006845/0.5578, allocations: 0.7401 MB / 404.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.5582, allocations: 167.7 kB / 404.4 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5582, allocations: 4.125 kB / 404.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.5585, allocations: 147.1 kB / 404.5 MB, free: 500 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.5587, allocations: 19.31 kB / 404.6 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.5594, allocations: 183.2 kB / 404.7 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.5597, allocations: 0.716 MB / 405.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.5598, allocations: 4.906 kB / 405.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.5599, allocations: 32.61 kB / 405.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5599, allocations: 0 / 405.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.5907, allocations: 2.543 MB / 408 MB, free: 13.05 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/0.5911, allocations: 183.8 kB / 408.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/3.375, allocations: 3.938 kB / 408.2 MB, free: 12.82 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat