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.184/2.184, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.966e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.5993, allocations: 73.83 MB / 373.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.5996, allocations: 69.14 kB / 373.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.6171, allocations: 3.957 MB / 377.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6171, allocations: 0 / 377.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.6171, allocations: 9.25 kB / 377.8 MB, free: 11.72 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.0008801/0.618, allocations: 489.9 kB / 378.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6181, allocations: 10.53 kB / 378.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.867e-05/0.6182, allocations: 55.22 kB / 378.4 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.6183, allocations: 25.47 kB / 378.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.6186, allocations: 236.1 kB / 378.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.6186, allocations: 17.06 kB / 378.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.6187, allocations: 19.5 kB / 378.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.6192, allocations: 212.8 kB / 378.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.6192, allocations: 2.453 kB / 378.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.6193, allocations: 9.125 kB / 378.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.6193, allocations: 5.5 kB / 378.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.6197, allocations: 133.8 kB / 379 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.6216, allocations: 0.8508 MB / 379.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.622, allocations: 146.1 kB / 380 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.6223, allocations: 88.78 kB / 380.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.6224, allocations: 7.656 kB / 380.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.6224, allocations: 38.31 kB / 380.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.545e-06/0.6224, allocations: 0 / 380.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007907/0.6232, allocations: 194.3 kB / 380.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.6233, allocations: 52.84 kB / 380.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.6235, allocations: 163.5 kB / 380.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6235, allocations: 34.11 kB / 380.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.6236, allocations: 147.8 kB / 380.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.6237, allocations: 55.27 kB / 380.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.6237, allocations: 3.062 kB / 380.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.6238, allocations: 332 kB / 381.1 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.624, allocations: 44.16 kB / 381.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.6241, allocations: 76.53 kB / 381.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.6243, allocations: 56.02 kB / 381.3 MB, free: 9.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6243, allocations: 2.188 kB / 381.3 MB, free: 9.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006523/0.625, allocations: 215.1 kB / 381.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.625, allocations: 7.156 kB / 381.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.625, allocations: 1.188 kB / 381.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.6272, allocations: 220.9 kB / 381.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.6275, allocations: 36.41 kB / 381.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005701/0.6281, allocations: 0.6139 MB / 382.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.6284, allocations: 21.31 kB / 382.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.6284, allocations: 8.297 kB / 382.4 MB, free: 9.055 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 (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 9.989e-05/0.6286, allocations: 109.2 kB / 382.5 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.6286, allocations: 25.08 kB / 382.5 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.6293, allocations: 220 kB / 382.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.6293, allocations: 1.938 kB / 382.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.6293, allocations: 5.219 kB / 382.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6293, allocations: 5.297 kB / 382.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6305, allocations: 0.588 MB / 383.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6306, allocations: 1.312 kB / 383.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.6308, allocations: 30.28 kB / 383.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.6328, allocations: 219.5 kB / 383.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.6329, allocations: 5.438 kB / 383.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/0.6334, allocations: 0.6179 MB / 384.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6334, allocations: 5.375 kB / 384.2 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.6343, allocations: 392.1 kB / 384.6 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6344, allocations: 110.4 kB / 384.7 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.6344, allocations: 1.5 kB / 384.7 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.6347, allocations: 16.39 kB / 384.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.6348, allocations: 13.23 kB / 384.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.6348, allocations: 5.828 kB / 384.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.6349, allocations: 125.8 kB / 384.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6349, allocations: 0 / 384.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004747/0.6354, allocations: 71.16 kB / 384.9 MB, free: 7.605 MB / 314.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.001387/0.6368, allocations: 1.009 MB / 385.9 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005268/0.6374, allocations: 134 kB / 386.1 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6374, allocations: 4.062 kB / 386.1 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.6376, allocations: 77.97 kB / 386.2 MB, free: 22.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.6381, allocations: 31.02 kB / 386.2 MB, free: 22.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.6394, allocations: 445.3 kB / 386.6 MB, free: 22.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.6398, allocations: 0.7459 MB / 387.4 MB, free: 21.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.6399, allocations: 10.02 kB / 387.4 MB, free: 21.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.64, allocations: 63.3 kB / 387.4 MB, free: 21.82 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.64, allocations: 0 / 387.4 MB, free: 21.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.6728, allocations: 4.24 MB / 391.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.6731, allocations: 184.8 kB / 391.9 MB, free: 21.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.33, allocations: 0 / 391.9 MB, free: 21.09 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