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.81/1.81, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.357e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.4591, allocations: 67.05 MB / 325.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4594, allocations: 67.97 kB / 325.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.4704, allocations: 2.642 MB / 328.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4704, allocations: 0 / 328.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.4705, allocations: 11.94 kB / 328.1 MB, free: 8.008 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.0006279/0.4711, allocations: 406.4 kB / 328.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4712, allocations: 16.02 kB / 328.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.4713, allocations: 19.81 kB / 328.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.4716, allocations: 202.4 kB / 328.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4716, allocations: 4 kB / 328.7 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.4717, allocations: 11.95 kB / 328.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002114/0.4719, allocations: 64.45 kB / 328.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.4722, allocations: 91.31 kB / 328.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4722, allocations: 3.984 kB / 328.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4722, allocations: 0 / 328.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4722, allocations: 4 kB / 328.9 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.4733, allocations: 0.4917 MB / 329.4 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.4737, allocations: 82.59 kB / 329.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.4738, allocations: 24.98 kB / 329.5 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.4738, allocations: 4 kB / 329.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4738, allocations: 34.5 kB / 329.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.4739, allocations: 0 / 329.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004259/0.4743, allocations: 94.44 kB / 329.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.4743, allocations: 51.41 kB / 329.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4745, allocations: 137.5 kB / 329.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4746, allocations: 25.7 kB / 329.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.4747, allocations: 127.6 kB / 330 MB, free: 5.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.4747, allocations: 27.64 kB / 330 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.4747, allocations: 0 / 330 MB, free: 5.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4749, allocations: 318.8 kB / 330.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.4749, allocations: 20 kB / 330.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.475, allocations: 34.56 kB / 330.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.4751, allocations: 20 kB / 330.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4751, allocations: 0 / 330.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003456/0.4755, allocations: 118.3 kB / 330.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4755, allocations: 4 kB / 330.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4755, allocations: 4 kB / 330.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.4758, allocations: 40.8 kB / 330.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4759, allocations: 20.05 kB / 330.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4776, allocations: 1.447 MB / 332 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4778, allocations: 7.969 kB / 332 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.4778, allocations: 4 kB / 332 MB, free: 3.742 MB / 282.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.751e-05/0.4779, allocations: 104.9 kB / 332.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003327/0.4782, allocations: 106.3 kB / 332.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.4783, allocations: 7.906 kB / 332.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.4784, allocations: 20.67 kB / 332.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4784, allocations: 0 / 332.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4784, allocations: 3.953 kB / 332.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4784, allocations: 0 / 332.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4787, allocations: 174.2 kB / 332.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4787, allocations: 4 kB / 332.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.4788, allocations: 8.172 kB / 332.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.479, allocations: 36.84 kB / 332.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.479, allocations: 0 / 332.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.4806, allocations: 1.439 MB / 333.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4806, allocations: 8.078 kB / 333.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.481, allocations: 204.1 kB / 334.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.4811, allocations: 96.94 kB / 334.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4811, allocations: 0 / 334.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.4813, allocations: 7.984 kB / 334.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4813, allocations: 8.094 kB / 334.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4814, allocations: 4.188 kB / 334.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.4815, allocations: 112.5 kB / 334.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4815, allocations: 3.938 kB / 334.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005173/0.482, allocations: 32 kB / 334.4 MB, free: 1.172 MB / 282.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.000658/0.4827, allocations: 0.7406 MB / 335.1 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.4831, allocations: 165.7 kB / 335.3 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4831, allocations: 0 / 335.3 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4834, allocations: 141.7 kB / 335.4 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4836, allocations: 19.97 kB / 335.5 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.4843, allocations: 171 kB / 335.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4847, allocations: 0.7119 MB / 336.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.4847, allocations: 8.438 kB / 336.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.4848, allocations: 27.42 kB / 336.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4848, allocations: 0 / 336.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.5179, allocations: 2.139 MB / 338.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.5183, allocations: 151.1 kB / 338.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.762, allocations: 0 / 338.7 MB, free: 12.77 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