Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.755e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3457, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4907, allocations: 73.16 MB / 367.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.491, allocations: 67.95 kB / 367.5 MB, free: 8.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01777/0.5088, allocations: 3.926 MB / 371.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5088, allocations: 0 / 371.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.5089, allocations: 12 kB / 371.4 MB, free: 4.656 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009872/0.5099, allocations: 482.2 kB / 371.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.5099, allocations: 8.031 kB / 371.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.5101, allocations: 27.72 kB / 371.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.5105, allocations: 239.3 kB / 372.1 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.5105, allocations: 4 kB / 372.1 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.5106, allocations: 12 kB / 372.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004224/0.511, allocations: 132.8 kB / 372.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.5115, allocations: 177 kB / 372.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5115, allocations: 3.938 kB / 372.5 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.5116, allocations: 0 / 372.5 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5116, allocations: 11.98 kB / 372.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.5136, allocations: 0.7983 MB / 373.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.514, allocations: 142.5 kB / 373.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5143, allocations: 80.94 kB / 373.5 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.5143, allocations: 4 kB / 373.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5144, allocations: 38.52 kB / 373.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 5.02e-06/0.5144, allocations: 0 / 373.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009314/0.5153, allocations: 206.4 kB / 373.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5154, allocations: 55.41 kB / 373.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.5156, allocations: 149.5 kB / 373.9 MB, free: 1.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5157, allocations: 29.64 kB / 374 MB, free: 1.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.5158, allocations: 152.1 kB / 374.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.5159, allocations: 55.2 kB / 374.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.5159, allocations: 0 / 374.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5161, allocations: 330.8 kB / 374.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.5163, allocations: 48.36 kB / 374.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.5164, allocations: 63.08 kB / 374.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.5167, allocations: 67.95 kB / 374.7 MB, free: 1.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5168, allocations: 0 / 374.7 MB, free: 1.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007477/0.5175, allocations: 214.2 kB / 374.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5176, allocations: 7.75 kB / 374.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5176, allocations: 4 kB / 374.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009173/0.5185, allocations: 100.8 kB / 375 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.5188, allocations: 39.92 kB / 375 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008417/0.5197, allocations: 0.6304 MB / 375.6 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.5199, allocations: 15.84 kB / 375.7 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.5199, allocations: 8.062 kB / 375.7 MB, free: 108 kB / 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 (15): * Single equations (assignments): 14 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.5201, allocations: 112.7 kB / 375.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007848/0.5209, allocations: 206.1 kB / 376 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.521, allocations: 15.81 kB / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/0.5217, allocations: 215.1 kB / 376.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5217, allocations: 4 kB / 376.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5217, allocations: 0 / 376.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5217, allocations: 7.922 kB / 376.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.5232, allocations: 0.5355 MB / 376.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5232, allocations: 4.031 kB / 376.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.5235, allocations: 27.98 kB / 376.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008444/0.5243, allocations: 120.7 kB / 376.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.5244, allocations: 4 kB / 376.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000836/0.5252, allocations: 0.6421 MB / 377.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5253, allocations: 3.984 kB / 377.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.5263, allocations: 391.1 kB / 377.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5264, allocations: 100.8 kB / 378 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.5265, allocations: 7.984 kB / 378 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.5267, allocations: 4 kB / 378 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.5268, allocations: 20.05 kB / 378.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5269, allocations: 7.953 kB / 378.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.527, allocations: 119.3 kB / 378.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.565e-06/0.527, allocations: 0 / 378.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.5275, allocations: 67.77 kB / 378.2 MB, free: 13.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.529, allocations: 0.9944 MB / 379.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.5295, allocations: 127.9 kB / 379.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5295, allocations: 4 kB / 379.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.5297, allocations: 68.11 kB / 379.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.5301, allocations: 23.98 kB / 379.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5315, allocations: 419.8 kB / 379.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.5319, allocations: 0.7477 MB / 380.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.5321, allocations: 13.33 kB / 380.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.5322, allocations: 59.41 kB / 380.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5322, allocations: 4 kB / 380.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08411/0.6163, allocations: 3.704 MB / 384.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.6167, allocations: 146.5 kB / 384.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.117, allocations: 7.938 kB / 384.5 MB, free: 6.941 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat