Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.329/2.329, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.569e-05, allocations: 10.5 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 50.4 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5798, allocations: 80.67 MB / 423.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5802, allocations: 70.95 kB / 423.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04358/0.6238, allocations: 9.128 MB / 433 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6238, allocations: 0 / 433 MB, free: 5.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.903e-05/0.6239, allocations: 8 kB / 433 MB, free: 5.758 MB / 346.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.002151/0.6261, allocations: 0.7578 MB / 433.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.6261, allocations: 8.031 kB / 433.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002793/0.6264, allocations: 106.1 kB / 433.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.6267, allocations: 75.16 kB / 434 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/0.6275, allocations: 371.2 kB / 434.3 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.6276, allocations: 46.58 kB / 434.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6277, allocations: 54.12 kB / 434.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6291, allocations: 0.5395 MB / 435 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6292, allocations: 0 / 435 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.6293, allocations: 26.5 kB / 435 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.6293, allocations: 12 kB / 435 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.6305, allocations: 413.9 kB / 435.4 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.6358, allocations: 2.112 MB / 437.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6372, allocations: 0.6077 MB / 438.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008642/0.6381, allocations: 384.3 kB / 438.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.6382, allocations: 4.562 kB / 438.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6382, allocations: 41.69 kB / 438.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 4.228e-06/0.6383, allocations: 0 / 438.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.003661/0.6419, allocations: 1.257 MB / 439.8 MB, free: 212 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.642, allocations: 59.92 kB / 439.9 MB, free: 140 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.6427, allocations: 309.8 kB / 440.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.6428, allocations: 35.14 kB / 440.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.6431, allocations: 246 kB / 440.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.6433, allocations: 198.7 kB / 440.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.6434, allocations: 7.438 kB / 440.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.6436, allocations: 358.8 kB / 441 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.6441, allocations: 149.8 kB / 441.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.6445, allocations: 194.2 kB / 441.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.645, allocations: 160.9 kB / 441.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.645, allocations: 4 kB / 441.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001885/0.6469, allocations: 0.6239 MB / 442.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.647, allocations: 7.938 kB / 442.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.647, allocations: 0 / 442.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6483, allocations: 254.9 kB / 442.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.649, allocations: 63.91 kB / 442.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.6594, allocations: 6.756 MB / 449.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.6601, allocations: 26.64 kB / 449.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.6602, allocations: 10.94 kB / 449.2 MB, free: 7.48 MB / 362.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.0002053/0.6604, allocations: 130.2 kB / 449.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6606, allocations: 51.39 kB / 449.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.6608, allocations: 73 kB / 449.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6608, allocations: 4 kB / 449.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.6608, allocations: 4 kB / 449.5 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.6609, allocations: 3.984 kB / 449.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.6646, allocations: 1.31 MB / 450.8 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6647, allocations: 0 / 450.8 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.6653, allocations: 59.95 kB / 450.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.6667, allocations: 259.5 kB / 451.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.6668, allocations: 15.95 kB / 451.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.6774, allocations: 6.761 MB / 457.9 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.6775, allocations: 7.984 kB / 457.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.6803, allocations: 0.9704 MB / 458.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.6808, allocations: 156.5 kB / 459 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.681, allocations: 8.188 kB / 459 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.6815, allocations: 23.98 kB / 459.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.6818, allocations: 56.48 kB / 459.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.6818, allocations: 19.98 kB / 459.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004717/0.6823, allocations: 242.2 kB / 459.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.6823, allocations: 0 / 459.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001525/0.6839, allocations: 176 kB / 459.5 MB, free: 12.75 MB / 378.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.003336/0.6872, allocations: 1.539 MB / 461.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.6897, allocations: 0.9529 MB / 462 MB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6898, allocations: 4.062 kB / 462 MB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.6917, allocations: 0.7818 MB / 462.8 MB, free: 9.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.6926, allocations: 73.52 kB / 462.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.697, allocations: 1.135 MB / 464 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.6977, allocations: 0.8907 MB / 464.9 MB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.6981, allocations: 52.55 kB / 465 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.6985, allocations: 175.4 kB / 465.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6985, allocations: 0 / 465.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/0.7655, allocations: 12.06 MB / 477.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.7659, allocations: 180.7 kB / 477.4 MB, free: 10.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/3.905, allocations: 0 / 477.4 MB, free: 10.81 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat