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.8/1.8, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.283e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2885, allocations: 38.77 MB / 263.9 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4122, allocations: 67.71 MB / 331.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4125, allocations: 71.94 kB / 331.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4234, allocations: 2.669 MB / 334.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.102e-06/0.4235, allocations: 0 / 334.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.4235, allocations: 11.88 kB / 334.3 MB, free: 3.18 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.0006084/0.4241, allocations: 414.4 kB / 334.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4242, allocations: 12.03 kB / 334.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/0.4242, allocations: 42.55 kB / 334.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.4244, allocations: 15.81 kB / 334.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4247, allocations: 208.6 kB / 335 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4247, allocations: 8.234 kB / 335 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.4247, allocations: 15.95 kB / 335 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.425, allocations: 111.3 kB / 335.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4251, allocations: 0 / 335.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.4251, allocations: 4 kB / 335.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4251, allocations: 4 kB / 335.1 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.4253, allocations: 64.47 kB / 335.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.4265, allocations: 0.5423 MB / 335.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.4268, allocations: 74.64 kB / 335.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.4269, allocations: 24.98 kB / 335.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.427, allocations: 4 kB / 335.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.427, allocations: 30.56 kB / 335.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.427, allocations: 0 / 335.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004153/0.4274, allocations: 106.4 kB / 336 MB, free: 1.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4275, allocations: 55.36 kB / 336 MB, free: 1.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.4277, allocations: 136.8 kB / 336.2 MB, free: 1.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.4277, allocations: 33.69 kB / 336.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4278, allocations: 198 kB / 336.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4279, allocations: 15.72 kB / 336.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.4279, allocations: 0 / 336.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.428, allocations: 318.8 kB / 336.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.4281, allocations: 19.98 kB / 336.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.4282, allocations: 42.45 kB / 336.8 MB, free: 496 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.4283, allocations: 24 kB / 336.8 MB, free: 472 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4283, allocations: 0 / 336.8 MB, free: 472 kB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003549/0.4286, allocations: 118.4 kB / 336.9 MB, free: 344 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4287, allocations: 4 kB / 336.9 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4287, allocations: 0 / 336.9 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.429, allocations: 40.83 kB / 337 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.4291, allocations: 16.12 kB / 337 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.431, allocations: 1.521 MB / 338.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4311, allocations: 7.984 kB / 338.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4312, allocations: 4 kB / 338.5 MB, free: 14.61 MB / 298.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.549e-05/0.4313, allocations: 116.9 kB / 338.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.4313, allocations: 7.906 kB / 338.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.4314, allocations: 8.625 kB / 338.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4314, allocations: 8.062 kB / 338.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4314, allocations: 0 / 338.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4314, allocations: 0 / 338.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.4317, allocations: 221.5 kB / 338.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4317, allocations: 0 / 338.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.4318, allocations: 4 kB / 338.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.432, allocations: 36.84 kB / 338.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.432, allocations: 4.109 kB / 338.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.4337, allocations: 1.491 MB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4337, allocations: 64 / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.4341, allocations: 212.2 kB / 340.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.4342, allocations: 96.94 kB / 340.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4343, allocations: 7.953 kB / 340.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.4344, allocations: 4 kB / 340.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.4345, allocations: 15.98 kB / 340.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4345, allocations: 0 / 340.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4346, allocations: 107.8 kB / 340.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4346, allocations: 0 / 340.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.4351, allocations: 39.91 kB / 340.9 MB, free: 12.01 MB / 298.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.0006824/0.4358, allocations: 0.7407 MB / 341.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.4363, allocations: 165.9 kB / 341.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4363, allocations: 3.938 kB / 341.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.4365, allocations: 153.6 kB / 341.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4368, allocations: 15.98 kB / 341.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.4374, allocations: 202.3 kB / 342.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.4378, allocations: 0.7082 MB / 342.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.4379, allocations: 35.42 kB / 342.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4379, allocations: 0 / 342.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.436/2.874, allocations: 2.444 MB / 345.3 MB, free: 7.438 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