Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.218/2.218, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.697e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3382, allocations: 44.49 MB / 294.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.4876, allocations: 75.53 MB / 369.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/0.488, allocations: 87.94 kB / 369.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03788/0.5259, allocations: 6.923 MB / 376.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.526, allocations: 0 / 376.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.526, allocations: 8 kB / 376.8 MB, free: 15.2 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002368/0.5284, allocations: 0.6428 MB / 377.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.5285, allocations: 16.19 kB / 377.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.5288, allocations: 55.39 kB / 377.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.53, allocations: 359.3 kB / 377.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.53, allocations: 19.94 kB / 377.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.5302, allocations: 31.91 kB / 378 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/0.5316, allocations: 266.6 kB / 378.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5331, allocations: 374.7 kB / 378.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.5332, allocations: 3.938 kB / 378.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.5333, allocations: 4 kB / 378.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.5334, allocations: 12 kB / 378.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00598/0.5394, allocations: 1.761 MB / 380.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.5412, allocations: 0.5822 MB / 381 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009848/0.5422, allocations: 213.8 kB / 381.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.5423, allocations: 4.328 kB / 381.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.5433, allocations: 249.2 kB / 381.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 4.388e-06/0.5434, allocations: 0 / 381.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002267/0.5457, allocations: 413.8 kB / 381.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.5458, allocations: 89.09 kB / 381.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.5465, allocations: 249 kB / 382.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.5466, allocations: 25.7 kB / 382.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.5469, allocations: 212.3 kB / 382.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.5472, allocations: 126.1 kB / 382.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.5473, allocations: 4 kB / 382.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.5475, allocations: 342.8 kB / 382.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.548, allocations: 105.1 kB / 382.9 MB, free: 8.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/0.5487, allocations: 211.1 kB / 383.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.5494, allocations: 131.7 kB / 383.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.5494, allocations: 3.938 kB / 383.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002184/0.5516, allocations: 453.6 kB / 383.7 MB, free: 7.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.5517, allocations: 8 kB / 383.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.5517, allocations: 4 kB / 383.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.5529, allocations: 136.8 kB / 383.9 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.5537, allocations: 59.91 kB / 383.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.5603, allocations: 2.222 MB / 386.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.5611, allocations: 35.62 kB / 386.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.5612, allocations: 16 kB / 386.2 MB, free: 5.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000296/0.5616, allocations: 128.7 kB / 386.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002226/0.5638, allocations: 414.1 kB / 386.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.564, allocations: 43.42 kB / 386.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.5642, allocations: 43.53 kB / 386.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5643, allocations: 4 kB / 386.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5643, allocations: 4 kB / 386.8 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.5643, allocations: 3.984 kB / 386.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.5677, allocations: 0.894 MB / 387.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5678, allocations: 0 / 387.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.5684, allocations: 35.92 kB / 387.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.5695, allocations: 140.8 kB / 387.9 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.5696, allocations: 4 kB / 387.9 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006519/0.5761, allocations: 2.214 MB / 390.1 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.5762, allocations: 0 / 390.1 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.5789, allocations: 0.6379 MB / 390.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.5794, allocations: 144.9 kB / 390.9 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.5795, allocations: 11.98 kB / 390.9 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.5802, allocations: 8 kB / 390.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.5805, allocations: 39.88 kB / 390.9 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.5806, allocations: 15.98 kB / 391 MB, free: 336 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004922/0.5811, allocations: 188.6 kB / 391.1 MB, free: 148 kB / 330.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.5811, allocations: 0 / 391.1 MB, free: 148 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001661/0.5828, allocations: 127.7 kB / 391.3 MB, free: 20 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003356/0.5861, allocations: 1.202 MB / 392.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.5878, allocations: 0.4897 MB / 393 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5878, allocations: 0 / 393 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.5888, allocations: 337.3 kB / 393.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.5895, allocations: 53.56 kB / 393.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.5927, allocations: 0.651 MB / 394 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.5934, allocations: 0.8357 MB / 394.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.5937, allocations: 35.45 kB / 394.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.5941, allocations: 141.5 kB / 395 MB, free: 12.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5941, allocations: 0 / 395 MB, free: 12.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.067/0.6611, allocations: 8.404 MB / 403.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003541/0.6615, allocations: 197.8 kB / 403.6 MB, free: 3.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.256/3.917, allocations: 0 / 403.6 MB, free: 3.629 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat