Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.158/2.158, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.606e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09944, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5335, allocations: 74.65 MB / 374.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5338, allocations: 71.45 kB / 374.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03906/0.5729, allocations: 8.784 MB / 383.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5729, allocations: 0 / 383.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.573, allocations: 15.66 kB / 383.5 MB, free: 11.45 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001748/0.5748, allocations: 0.7539 MB / 384.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/0.5748, allocations: 9.188 kB / 384.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.5751, allocations: 110.5 kB / 384.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.5752, allocations: 69.62 kB / 384.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.5759, allocations: 369 kB / 384.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.576, allocations: 43.62 kB / 384.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5761, allocations: 56.38 kB / 384.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5774, allocations: 0.5296 MB / 385.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.5775, allocations: 0 / 385.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.5776, allocations: 27.64 kB / 385.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.5776, allocations: 14.19 kB / 385.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.5788, allocations: 417.7 kB / 385.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.5834, allocations: 2.118 MB / 388 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5845, allocations: 0.5968 MB / 388.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.5853, allocations: 388.6 kB / 389 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.5854, allocations: 8.281 kB / 389 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5854, allocations: 42.81 kB / 389 MB, free: 9.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 4.228e-06/0.5854, allocations: 0 / 389 MB, free: 9.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003076/0.5885, allocations: 1.253 MB / 390.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5886, allocations: 55.81 kB / 390.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.5891, allocations: 311.5 kB / 390.6 MB, free: 8.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.5892, allocations: 38.02 kB / 390.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5893, allocations: 238.9 kB / 390.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.5895, allocations: 197.8 kB / 391.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.5896, allocations: 14.94 kB / 391.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.5897, allocations: 349.6 kB / 391.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.5901, allocations: 152.8 kB / 391.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.5905, allocations: 194.2 kB / 391.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.591, allocations: 163.8 kB / 392 MB, free: 8.074 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.591, allocations: 0 / 392 MB, free: 8.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001598/0.5926, allocations: 0.6286 MB / 392.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5926, allocations: 8.453 kB / 392.6 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5926, allocations: 0 / 392.6 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.5938, allocations: 256 kB / 392.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.5943, allocations: 69.19 kB / 392.9 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/0.6025, allocations: 6.758 MB / 399.7 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.6032, allocations: 29.44 kB / 399.7 MB, free: 18.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.6033, allocations: 13.59 kB / 399.7 MB, free: 18.44 MB / 330.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.000195/0.6035, allocations: 132.1 kB / 399.8 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6036, allocations: 50.72 kB / 399.9 MB, free: 18.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.6038, allocations: 66.05 kB / 399.9 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6038, allocations: 7.75 kB / 400 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.6038, allocations: 7.953 kB / 400 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6038, allocations: 3.094 kB / 400 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.6066, allocations: 1.311 MB / 401.3 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6067, allocations: 0 / 401.3 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.6072, allocations: 60.86 kB / 401.3 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.6083, allocations: 257.9 kB / 401.6 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.6084, allocations: 9.016 kB / 401.6 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008731/0.6171, allocations: 6.763 MB / 408.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6172, allocations: 4 kB / 408.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.6195, allocations: 0.9676 MB / 409.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.62, allocations: 157.7 kB / 409.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.6201, allocations: 18.12 kB / 409.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.6206, allocations: 20.91 kB / 409.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.6208, allocations: 53.56 kB / 409.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.6209, allocations: 17.56 kB / 409.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003777/0.6213, allocations: 248.2 kB / 409.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6213, allocations: 3.875 kB / 409.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001336/0.6226, allocations: 174.8 kB / 410 MB, free: 11.96 MB / 330.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.003474/0.6261, allocations: 1.549 MB / 411.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.6294, allocations: 0.953 MB / 412.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.6295, allocations: 0 / 412.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.6319, allocations: 0.7729 MB / 413.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.6333, allocations: 85.78 kB / 413.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/0.639, allocations: 1.114 MB / 414.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008182/0.6399, allocations: 0.8987 MB / 415.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004801/0.6404, allocations: 53.78 kB / 415.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.6408, allocations: 173 kB / 415.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6408, allocations: 0 / 415.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06585/0.7067, allocations: 12.05 MB / 427.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.7071, allocations: 184.7 kB / 427.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/3.885, allocations: 0 / 427.8 MB, free: 4.691 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat