Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.79e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 38.75 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4294, allocations: 67.95 MB / 326.3 MB, free: 9.922 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4297, allocations: 67.97 kB / 326.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.447, allocations: 3.911 MB / 330.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4471, allocations: 0 / 330.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.4471, allocations: 4 kB / 330.3 MB, free: 5.922 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009131/0.4481, allocations: 0.4903 MB / 330.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4481, allocations: 8.031 kB / 330.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.4482, allocations: 27.72 kB / 330.8 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.4486, allocations: 231.4 kB / 331 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4486, allocations: 16 kB / 331 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.4487, allocations: 15.95 kB / 331 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004234/0.4491, allocations: 124.9 kB / 331.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.4496, allocations: 193 kB / 331.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4496, allocations: 0 / 331.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.4497, allocations: 0 / 331.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4497, allocations: 4 kB / 331.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.4517, allocations: 0.8121 MB / 332.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.4521, allocations: 138.6 kB / 332.3 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.4523, allocations: 88.8 kB / 332.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4524, allocations: 3.984 kB / 332.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4524, allocations: 34.56 kB / 332.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.715e-06/0.4524, allocations: 0 / 332.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.00092/0.4533, allocations: 206.4 kB / 332.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4534, allocations: 59.34 kB / 332.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.4536, allocations: 154.6 kB / 332.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.4537, allocations: 25.7 kB / 332.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4538, allocations: 156.1 kB / 333 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.4539, allocations: 59.19 kB / 333.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4539, allocations: 0 / 333.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.454, allocations: 322.8 kB / 333.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4542, allocations: 48 kB / 333.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4543, allocations: 76.28 kB / 333.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.4547, allocations: 69.3 kB / 333.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.4547, allocations: 0 / 333.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007746/0.4555, allocations: 241.1 kB / 333.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4555, allocations: 6.656 kB / 333.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4555, allocations: 4 kB / 333.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/0.4564, allocations: 100.9 kB / 333.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.4567, allocations: 35.92 kB / 334 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/0.4575, allocations: 0.6304 MB / 334.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4577, allocations: 15.91 kB / 334.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.4578, allocations: 12 kB / 334.6 MB, free: 1.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001143/0.4579, allocations: 104.9 kB / 334.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007612/0.4587, allocations: 206.1 kB / 334.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.4588, allocations: 23.81 kB / 334.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.4594, allocations: 204.3 kB / 335.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4595, allocations: 0 / 335.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4595, allocations: 0 / 335.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4595, allocations: 3.984 kB / 335.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.4608, allocations: 0.5511 MB / 335.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4608, allocations: 3.984 kB / 335.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.4611, allocations: 27.98 kB / 335.7 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008352/0.462, allocations: 116.8 kB / 335.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.462, allocations: 4 kB / 335.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007565/0.4628, allocations: 0.642 MB / 336.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4628, allocations: 3.984 kB / 336.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.4638, allocations: 387.1 kB / 336.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.4639, allocations: 108.9 kB / 337 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.464, allocations: 8 kB / 337 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.4642, allocations: 15.91 kB / 337 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.4643, allocations: 15.98 kB / 337 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.4643, allocations: 7.984 kB / 337 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.4645, allocations: 120.1 kB / 337.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4645, allocations: 0 / 337.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004781/0.465, allocations: 59.84 kB / 337.2 MB, free: 14.54 MB / 298.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.001375/0.4664, allocations: 1.01 MB / 338.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.4669, allocations: 136 kB / 338.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4669, allocations: 0 / 338.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4671, allocations: 78.97 kB / 338.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.4675, allocations: 16.19 kB / 338.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4689, allocations: 420 kB / 338.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.4693, allocations: 0.7479 MB / 339.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.4694, allocations: 13.33 kB / 339.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4696, allocations: 67.34 kB / 339.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.665e-06/0.4696, allocations: 4 kB / 339.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.5126, allocations: 3.775 MB / 343.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/0.5129, allocations: 144.3 kB / 343.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.892, allocations: 7.875 kB / 343.6 MB, free: 8.027 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat