Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.871e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2692, allocations: 38.76 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.3951, allocations: 68.7 MB / 327 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.3954, allocations: 75.89 kB / 327.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03672/0.4321, allocations: 8.253 MB / 335.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4322, allocations: 0 / 335.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.4323, allocations: 19.98 kB / 335.4 MB, free: 0.7539 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00182/0.4341, allocations: 0.7596 MB / 336.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4342, allocations: 8.031 kB / 336.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4343, allocations: 79.05 kB / 336.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.435, allocations: 363.4 kB / 336.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.4351, allocations: 19.98 kB / 336.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.4352, allocations: 32 kB / 336.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/0.4363, allocations: 374.6 kB / 337 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4374, allocations: 444.5 kB / 337.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4374, allocations: 4 kB / 337.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.4375, allocations: 3.984 kB / 337.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.4375, allocations: 15.95 kB / 337.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.4417, allocations: 1.963 MB / 339.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4429, allocations: 0.5778 MB / 340 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007658/0.4437, allocations: 357.8 kB / 340.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.4438, allocations: 4.562 kB / 340.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4439, allocations: 39.12 kB / 340.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 3.386e-06/0.4439, allocations: 0 / 340.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.00297/0.4468, allocations: 1.154 MB / 341.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4469, allocations: 67.91 kB / 341.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.4474, allocations: 270.4 kB / 341.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4474, allocations: 25.7 kB / 341.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.4476, allocations: 291.3 kB / 342.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.4479, allocations: 193.1 kB / 342.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4479, allocations: 0 / 342.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4481, allocations: 330.8 kB / 342.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.4485, allocations: 137.1 kB / 342.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.449, allocations: 182.8 kB / 343 MB, free: 8.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.4494, allocations: 142.1 kB / 343.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4495, allocations: 0 / 343.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001572/0.451, allocations: 0.5605 MB / 343.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.4511, allocations: 4 kB / 343.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4511, allocations: 0 / 343.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4522, allocations: 243.2 kB / 343.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.4528, allocations: 71.89 kB / 344 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008385/0.4612, allocations: 6.519 MB / 350.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.4617, allocations: 8.031 kB / 350.5 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.4618, allocations: 16 kB / 350.5 MB, free: 0.7344 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.462, allocations: 121.7 kB / 350.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001479/0.4635, allocations: 0.5369 MB / 351.2 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4636, allocations: 51.44 kB / 351.2 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.4638, allocations: 61.06 kB / 351.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4638, allocations: 8 kB / 351.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4639, allocations: 0 / 351.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4639, allocations: 4.109 kB / 351.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.4667, allocations: 1.181 MB / 352.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4667, allocations: 4 kB / 352.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.4673, allocations: 59.95 kB / 352.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.4684, allocations: 247.4 kB / 352.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.4684, allocations: 3.984 kB / 352.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008324/0.4767, allocations: 6.526 MB / 359.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4768, allocations: 0 / 359.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.4791, allocations: 0.9001 MB / 360.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.4794, allocations: 164.6 kB / 360.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.4795, allocations: 4 kB / 360.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.48, allocations: 7.984 kB / 360.4 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.4802, allocations: 60.42 kB / 360.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.4802, allocations: 12.12 kB / 360.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003327/0.4806, allocations: 220.6 kB / 360.7 MB, free: 5.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4806, allocations: 3.938 kB / 360.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001279/0.4819, allocations: 156 kB / 360.8 MB, free: 5.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002652/0.4846, allocations: 1.468 MB / 362.3 MB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.4866, allocations: 0.9218 MB / 363.2 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4866, allocations: 4 kB / 363.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.4881, allocations: 0.7661 MB / 364 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.4888, allocations: 57.44 kB / 364.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.4923, allocations: 1.091 MB / 365.2 MB, free: 1.352 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.4929, allocations: 0.8867 MB / 366 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.4933, allocations: 171.4 kB / 366.2 MB, free: 272 kB / 314.7 MB Notification: Performance of SimCode: time 2.906e-06/0.4933, allocations: 4 kB / 366.2 MB, free: 268 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/3.6, allocations: 15.29 MB / 381.5 MB, free: 86.83 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat