Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.357e-05, allocations: 4 kB / 255.4 MB, free: 3.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 44.52 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5058, allocations: 72.88 MB / 372.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5061, allocations: 68.72 kB / 372.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.5173, allocations: 2.645 MB / 375.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5174, allocations: 0 / 375.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.5174, allocations: 7.156 kB / 375.5 MB, free: 12.41 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.0005839/0.518, allocations: 413.3 kB / 375.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5181, allocations: 9.375 kB / 375.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.5181, allocations: 46.67 kB / 376 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5183, allocations: 11.56 kB / 376 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.5185, allocations: 201.1 kB / 376.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.5186, allocations: 12.05 kB / 376.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.5186, allocations: 12.28 kB / 376.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.5189, allocations: 108.8 kB / 376.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.5189, allocations: 0 / 376.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.519, allocations: 8.469 kB / 376.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.519, allocations: 3.625 kB / 376.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.5192, allocations: 70.08 kB / 376.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.5203, allocations: 0.5411 MB / 377 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.5207, allocations: 79.39 kB / 377 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.5208, allocations: 27.05 kB / 377.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5208, allocations: 1.625 kB / 377.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5209, allocations: 37.17 kB / 377.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.5209, allocations: 1.969 kB / 377.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000466/0.5214, allocations: 106.2 kB / 377.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.5214, allocations: 52.47 kB / 377.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.5216, allocations: 144.2 kB / 377.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5216, allocations: 25.7 kB / 377.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.5217, allocations: 185.5 kB / 377.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.5217, allocations: 23.64 kB / 377.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.5217, allocations: 2.812 kB / 377.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.5218, allocations: 313.4 kB / 377.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.5219, allocations: 20.91 kB / 378 MB, free: 10.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.5219, allocations: 40.52 kB / 378 MB, free: 10.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.522, allocations: 24.52 kB / 378 MB, free: 10.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5221, allocations: 1 kB / 378 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003574/0.5224, allocations: 118.8 kB / 378.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5225, allocations: 12 kB / 378.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5225, allocations: 0 / 378.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.5228, allocations: 41.64 kB / 378.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5229, allocations: 9.531 kB / 378.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.5246, allocations: 1.516 MB / 379.7 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.5248, allocations: 11.61 kB / 379.7 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.5248, allocations: 2.625 kB / 379.7 MB, free: 9.074 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.008e-05/0.5249, allocations: 111.9 kB / 379.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.525, allocations: 13 kB / 379.8 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.525, allocations: 12.17 kB / 379.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.525, allocations: 4.953 kB / 379.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.525, allocations: 2.312 kB / 379.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5251, allocations: 0 / 379.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.5254, allocations: 212.6 kB / 380.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5254, allocations: 0 / 380.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.5255, allocations: 6.859 kB / 380.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.5257, allocations: 38.09 kB / 380.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5257, allocations: 7.75 kB / 380.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.5272, allocations: 1.5 MB / 381.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5272, allocations: 1.375 kB / 381.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.5276, allocations: 212 kB / 381.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.5276, allocations: 84.78 kB / 381.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.5277, allocations: 1 kB / 381.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.5278, allocations: 11.25 kB / 381.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5279, allocations: 8.359 kB / 381.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5279, allocations: 4.172 kB / 381.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.528, allocations: 109.4 kB / 382 MB, free: 7.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5281, allocations: 0 / 382 MB, free: 7.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004987/0.5286, allocations: 48.05 kB / 382.1 MB, free: 7.039 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.0009116/0.5295, allocations: 0.7367 MB / 382.8 MB, free: 22.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.53, allocations: 176 kB / 383 MB, free: 22.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.53, allocations: 0 / 383 MB, free: 22.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.5303, allocations: 155.7 kB / 383.2 MB, free: 22.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.5306, allocations: 16.34 kB / 383.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.5312, allocations: 203.1 kB / 383.4 MB, free: 21.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5315, allocations: 0.7134 MB / 384.1 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.5316, allocations: 32.7 kB / 384.1 MB, free: 21.26 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5316, allocations: 4 kB / 384.1 MB, free: 21.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.661/3.192, allocations: 2.442 MB / 386.6 MB, free: 21.11 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat