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.471/2.471, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.767e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3299, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.4675, allocations: 73.99 MB / 368.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4678, allocations: 71.91 kB / 368.3 MB, free: 7.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04061/0.5084, allocations: 8.681 MB / 377 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5085, allocations: 0 / 377 MB, free: 15.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.448e-05/0.5085, allocations: 12 kB / 377 MB, free: 15.04 MB / 330.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.002067/0.5106, allocations: 0.7558 MB / 377.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.5107, allocations: 8.031 kB / 377.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.511, allocations: 71.16 kB / 377.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.5118, allocations: 367.3 kB / 378.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.5119, allocations: 20 kB / 378.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.512, allocations: 28 kB / 378.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001185/0.5132, allocations: 374.6 kB / 378.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5144, allocations: 448.5 kB / 379 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5144, allocations: 0 / 379 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.5145, allocations: 3.953 kB / 379 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5145, allocations: 12 kB / 379 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.5192, allocations: 1.963 MB / 381 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.5205, allocations: 0.5817 MB / 381.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.5212, allocations: 377.6 kB / 381.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-05/0.5213, allocations: 8.562 kB / 381.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.5214, allocations: 39.12 kB / 382 MB, free: 9.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 3.507e-06/0.5214, allocations: 0 / 382 MB, free: 9.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.003251/0.5247, allocations: 1.139 MB / 383.1 MB, free: 8.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.5248, allocations: 71.95 kB / 383.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.5253, allocations: 262.4 kB / 383.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5253, allocations: 25.7 kB / 383.5 MB, free: 8.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5256, allocations: 233 kB / 383.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.5258, allocations: 193.1 kB / 383.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.5259, allocations: 0 / 383.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5261, allocations: 354.8 kB / 384.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.5265, allocations: 137.1 kB / 384.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.527, allocations: 182.8 kB / 384.6 MB, free: 7.109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.5274, allocations: 154.1 kB / 384.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5274, allocations: 0 / 384.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001669/0.5291, allocations: 0.5721 MB / 385.3 MB, free: 6.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5292, allocations: 4 kB / 385.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5292, allocations: 0 / 385.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5304, allocations: 247.1 kB / 385.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.531, allocations: 67.94 kB / 385.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.5398, allocations: 6.511 MB / 392.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.5403, allocations: 16.03 kB / 392.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.5404, allocations: 20.08 kB / 392.1 MB, free: 15.02 MB / 346.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.0001749/0.5406, allocations: 116.7 kB / 392.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001432/0.542, allocations: 0.5447 MB / 392.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5422, allocations: 47.52 kB / 392.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.5425, allocations: 57.06 kB / 392.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.5425, allocations: 11.98 kB / 392.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.5426, allocations: 4 kB / 392.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.5426, allocations: 3.984 kB / 392.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.5457, allocations: 1.174 MB / 394.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5457, allocations: 0 / 394.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.5463, allocations: 59.91 kB / 394.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.5475, allocations: 239.2 kB / 394.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.5476, allocations: 11.98 kB / 394.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009329/0.5569, allocations: 6.539 MB / 400.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.557, allocations: 0 / 400.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.5593, allocations: 0.9112 MB / 401.8 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.5597, allocations: 152.5 kB / 402 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.5598, allocations: 4.109 kB / 402 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.5603, allocations: 12 kB / 402 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.5605, allocations: 60.44 kB / 402.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.5606, allocations: 19.98 kB / 402.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003687/0.5609, allocations: 212.6 kB / 402.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5609, allocations: 0 / 402.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001298/0.5623, allocations: 152 kB / 402.4 MB, free: 4.121 MB / 346.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.002624/0.5649, allocations: 1.461 MB / 403.9 MB, free: 2.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.567, allocations: 0.9296 MB / 404.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.567, allocations: 0 / 404.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.5685, allocations: 0.7661 MB / 405.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.5691, allocations: 57.22 kB / 405.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.5727, allocations: 1.054 MB / 406.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.5733, allocations: 0.8867 MB / 407.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.5736, allocations: 40.38 kB / 407.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.5739, allocations: 175.4 kB / 407.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.133e-06/0.574, allocations: 0 / 407.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07222/0.6462, allocations: 10.77 MB / 418.6 MB, free: 3.824 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/0.6466, allocations: 128.1 kB / 418.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/3.684, allocations: 3.938 kB / 418.7 MB, free: 3.633 MB / 362.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