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.287/2.287, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.777e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3184, allocations: 44.49 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4602, allocations: 72.23 MB / 366.5 MB, free: 9.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4605, allocations: 71.91 kB / 366.5 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.4719, allocations: 2.615 MB / 369.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4719, allocations: 0 / 369.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.472, allocations: 4 kB / 369.1 MB, free: 7.008 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.000712/0.4727, allocations: 410.3 kB / 369.5 MB, free: 6.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.4728, allocations: 12.03 kB / 369.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.4729, allocations: 19.89 kB / 369.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.4732, allocations: 206.8 kB / 369.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4733, allocations: 4 kB / 369.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.4733, allocations: 4 kB / 369.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002361/0.4735, allocations: 64.45 kB / 369.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.4738, allocations: 91.31 kB / 369.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4739, allocations: 0 / 369.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.4739, allocations: 3.938 kB / 369.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4739, allocations: 4 kB / 369.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.4751, allocations: 0.4971 MB / 370.4 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.4756, allocations: 74.64 kB / 370.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.4757, allocations: 28.92 kB / 370.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4757, allocations: 4 kB / 370.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.4758, allocations: 34.56 kB / 370.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.4758, allocations: 0 / 370.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004538/0.4762, allocations: 106.3 kB / 370.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4763, allocations: 51.41 kB / 370.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4765, allocations: 136.8 kB / 370.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.4765, allocations: 25.7 kB / 370.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.4766, allocations: 120.1 kB / 371 MB, free: 4.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.4766, allocations: 23.64 kB / 371 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.4767, allocations: 0 / 371 MB, free: 4.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4768, allocations: 318.8 kB / 371.3 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.4769, allocations: 12 kB / 371.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.477, allocations: 46.5 kB / 371.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.4771, allocations: 16 kB / 371.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4771, allocations: 0 / 371.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003729/0.4775, allocations: 122.3 kB / 371.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4775, allocations: 4 kB / 371.5 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4775, allocations: 4.062 kB / 371.5 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.4778, allocations: 32.84 kB / 371.6 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.478, allocations: 11.98 kB / 371.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.4798, allocations: 1.447 MB / 373 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.48, allocations: 11.97 kB / 373 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4801, allocations: 4 kB / 373 MB, free: 2.75 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 0.0001149/0.4802, allocations: 108.7 kB / 373.2 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003443/0.4805, allocations: 106.5 kB / 373.3 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.4806, allocations: 7.906 kB / 373.3 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.4807, allocations: 12.61 kB / 373.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4807, allocations: 4 kB / 373.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4807, allocations: 0 / 373.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4807, allocations: 0 / 373.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.481, allocations: 194 kB / 373.5 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.481, allocations: 3.938 kB / 373.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.4811, allocations: 11.98 kB / 373.5 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.4813, allocations: 36.8 kB / 373.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4814, allocations: 0 / 373.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.4831, allocations: 1.435 MB / 375 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.4832, allocations: 4.125 kB / 375 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.4836, allocations: 192.3 kB / 375.1 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.4837, allocations: 93.02 kB / 375.2 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4837, allocations: 7.984 kB / 375.2 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4839, allocations: 11.94 kB / 375.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.484, allocations: 7.922 kB / 375.3 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.484, allocations: 7.953 kB / 375.3 MB, free: 308 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.4842, allocations: 102 kB / 375.4 MB, free: 208 kB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4842, allocations: 0 / 375.4 MB, free: 208 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005508/0.4847, allocations: 35.91 kB / 375.4 MB, free: 172 kB / 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.0007922/0.4855, allocations: 0.7366 MB / 376.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.486, allocations: 157.8 kB / 376.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4861, allocations: 4.125 kB / 376.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.4863, allocations: 142 kB / 376.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4866, allocations: 12 kB / 376.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.4873, allocations: 175.1 kB / 376.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.4877, allocations: 0.7158 MB / 377.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.4878, allocations: 8.469 kB / 377.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.4879, allocations: 31.42 kB / 377.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4879, allocations: 0 / 377.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.5297, allocations: 2.153 MB / 379.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.5302, allocations: 143.5 kB / 379.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/2.983, allocations: 0 / 379.7 MB, free: 11.76 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