Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.754e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2518, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3702, allocations: 67.05 MB / 325.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.3705, allocations: 67.97 kB / 325.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.3817, allocations: 2.649 MB / 328.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3817, allocations: 3.938 kB / 328.1 MB, free: 8.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.3817, allocations: 4 kB / 328.1 MB, free: 8.039 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.0006208/0.3824, allocations: 410.4 kB / 328.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3824, allocations: 12.03 kB / 328.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3826, allocations: 15.81 kB / 328.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3829, allocations: 210.3 kB / 328.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3829, allocations: 7.984 kB / 328.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.383, allocations: 11.95 kB / 328.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002146/0.3832, allocations: 56.47 kB / 328.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.3835, allocations: 95.3 kB / 328.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3835, allocations: 0 / 328.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.3835, allocations: 0 / 328.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3836, allocations: 8 kB / 328.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3847, allocations: 499.5 kB / 329.4 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.3851, allocations: 82.58 kB / 329.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.3852, allocations: 24.98 kB / 329.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3853, allocations: 3.984 kB / 329.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3853, allocations: 34.5 kB / 329.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.746e-06/0.3853, allocations: 0 / 329.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004292/0.3857, allocations: 102.4 kB / 329.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.3858, allocations: 55.34 kB / 329.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.386, allocations: 125.5 kB / 329.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.386, allocations: 25.7 kB / 329.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3861, allocations: 194 kB / 330 MB, free: 5.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3861, allocations: 23.64 kB / 330 MB, free: 5.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.3862, allocations: 4 kB / 330.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3863, allocations: 314.8 kB / 330.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.3864, allocations: 20 kB / 330.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.3865, allocations: 38.56 kB / 330.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.3865, allocations: 16 kB / 330.4 MB, free: 5.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3865, allocations: 0 / 330.4 MB, free: 5.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003654/0.3869, allocations: 106.5 kB / 330.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.387, allocations: 8 kB / 330.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.387, allocations: 3.984 kB / 330.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.3872, allocations: 44.73 kB / 330.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3874, allocations: 11.98 kB / 330.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.3891, allocations: 1.447 MB / 332 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3893, allocations: 7.984 kB / 332.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3893, allocations: 0 / 332.1 MB, free: 3.73 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 0.0001007/0.3894, allocations: 113 kB / 332.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003292/0.3898, allocations: 106.3 kB / 332.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.3898, allocations: 11.81 kB / 332.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3899, allocations: 16.61 kB / 332.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3899, allocations: 0 / 332.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3899, allocations: 3.953 kB / 332.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3899, allocations: 0 / 332.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3902, allocations: 174.2 kB / 332.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3902, allocations: 0 / 332.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.3903, allocations: 11.98 kB / 332.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.3905, allocations: 32.84 kB / 332.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3905, allocations: 4 kB / 332.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.3922, allocations: 1.447 MB / 334 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3922, allocations: 96 / 334 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.3926, allocations: 208.3 kB / 334.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.3927, allocations: 96.94 kB / 334.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3928, allocations: 0 / 334.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3929, allocations: 7.984 kB / 334.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.393, allocations: 4.188 kB / 334.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.393, allocations: 0 / 334.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3931, allocations: 120.5 kB / 334.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3932, allocations: 0 / 334.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005497/0.3937, allocations: 35.91 kB / 334.4 MB, free: 1.148 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.0006846/0.3944, allocations: 0.7327 MB / 335.2 MB, free: 396 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.3948, allocations: 161.9 kB / 335.3 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3949, allocations: 0 / 335.3 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.3951, allocations: 145.6 kB / 335.5 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3954, allocations: 15.84 kB / 335.5 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.3961, allocations: 200.8 kB / 335.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3965, allocations: 0.7158 MB / 336.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.3965, allocations: 31.42 kB / 336.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3966, allocations: 0 / 336.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/2.954, allocations: 2.431 MB / 338.9 MB, free: 12.61 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat