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.026/2.026, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.506e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09734, allocations: 44.51 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5032, allocations: 72.9 MB / 372.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5035, allocations: 70.84 kB / 372.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.5147, allocations: 2.645 MB / 375.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5147, allocations: 1.188 kB / 375.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.5148, allocations: 1.5 kB / 375.6 MB, free: 11.92 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.0006096/0.5154, allocations: 416.6 kB / 376 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5154, allocations: 8.562 kB / 376 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.5155, allocations: 43.92 kB / 376 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.5156, allocations: 13.48 kB / 376 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.5159, allocations: 204.3 kB / 376.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5159, allocations: 9.016 kB / 376.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.516, allocations: 10.31 kB / 376.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.5163, allocations: 114.2 kB / 376.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5163, allocations: 1.219 kB / 376.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.5163, allocations: 4.781 kB / 376.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5163, allocations: 2.344 kB / 376.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.5166, allocations: 66.58 kB / 376.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.5176, allocations: 0.5351 MB / 377 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.5181, allocations: 73.22 kB / 377 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.5182, allocations: 29.16 kB / 377.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.5182, allocations: 1.031 kB / 377.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5182, allocations: 39.53 kB / 377.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.917e-06/0.5182, allocations: 0 / 377.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004463/0.5187, allocations: 107.5 kB / 377.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.5187, allocations: 52.5 kB / 377.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.5189, allocations: 142.2 kB / 377.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5189, allocations: 26.83 kB / 377.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.519, allocations: 191 kB / 377.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.519, allocations: 21.58 kB / 377.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.5191, allocations: 3.75 kB / 377.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.5191, allocations: 313.1 kB / 378 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.5192, allocations: 18.66 kB / 378 MB, free: 10.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.5193, allocations: 42.45 kB / 378 MB, free: 10.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.5194, allocations: 23.55 kB / 378 MB, free: 10.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5194, allocations: 0 / 378 MB, free: 10.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003473/0.5198, allocations: 115 kB / 378.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.5198, allocations: 9.297 kB / 378.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5198, allocations: 4.875 kB / 378.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.5201, allocations: 38.44 kB / 378.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.5202, allocations: 9 kB / 378.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.5219, allocations: 1.514 MB / 379.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.5221, allocations: 13.3 kB / 379.7 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5221, allocations: 7.469 kB / 379.7 MB, free: 8.598 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 7.845e-05/0.5222, allocations: 107 kB / 379.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.5223, allocations: 8.641 kB / 379.9 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.5223, allocations: 15.94 kB / 379.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5223, allocations: 9.609 kB / 379.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5223, allocations: 0 / 379.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.5224, allocations: 1.906 kB / 379.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.5227, allocations: 211.7 kB / 380.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5227, allocations: 5.188 kB / 380.1 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.5228, allocations: 4.609 kB / 380.1 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.523, allocations: 36.41 kB / 380.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.523, allocations: 0 / 380.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.5244, allocations: 1.5 MB / 381.6 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5244, allocations: 0 / 381.6 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.5251, allocations: 211 kB / 381.8 MB, free: 22.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.5252, allocations: 92.52 kB / 381.9 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.5252, allocations: 1.031 kB / 381.9 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.5254, allocations: 8.141 kB / 381.9 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.5254, allocations: 10.05 kB / 381.9 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5254, allocations: 4.969 kB / 382 MB, free: 22.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.5256, allocations: 109.1 kB / 382.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5256, allocations: 0 / 382.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005408/0.5261, allocations: 45.02 kB / 382.1 MB, free: 22.57 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.0007333/0.5269, allocations: 0.7398 MB / 382.8 MB, free: 21.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.5274, allocations: 172 kB / 383 MB, free: 21.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5274, allocations: 3.938 kB / 383 MB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.5276, allocations: 140.1 kB / 383.2 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.5279, allocations: 17.25 kB / 383.2 MB, free: 21.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.5286, allocations: 205.9 kB / 383.4 MB, free: 21.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.529, allocations: 0.7116 MB / 384.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.5291, allocations: 32.02 kB / 384.1 MB, free: 20.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.542e-06/0.5291, allocations: 0 / 384.1 MB, free: 20.8 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.56/3.089, allocations: 2.445 MB / 386.6 MB, free: 20.64 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