Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.033e-05, allocations: 4 kB / 292.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 50.4 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4803/0.5951, allocations: 90.16 MB / 432.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.5955, allocations: 84.81 kB / 432.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06308/0.6586, allocations: 15.21 MB / 448.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6586, allocations: 3.938 kB / 448.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.149e-05/0.6587, allocations: 20 kB / 448.1 MB, free: 6.801 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002824/0.6615, allocations: 0.945 MB / 449.1 MB, free: 5.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.6616, allocations: 12.03 kB / 449.1 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.6619, allocations: 116.4 kB / 449.2 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.6622, allocations: 94.88 kB / 449.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6634, allocations: 0.5134 MB / 449.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.6635, allocations: 63.08 kB / 449.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.6637, allocations: 71.44 kB / 449.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.6656, allocations: 0.7459 MB / 450.7 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.6657, allocations: 0 / 450.7 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.6658, allocations: 35.8 kB / 450.7 MB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.6658, allocations: 16 kB / 450.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.6673, allocations: 0.5219 MB / 451.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.6737, allocations: 2.766 MB / 454 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.6758, allocations: 0.6611 MB / 454.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.6772, allocations: 442.8 kB / 455.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-05/0.6773, allocations: 8.562 kB / 455.1 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.6783, allocations: 385.6 kB / 455.5 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.025e-06/0.6783, allocations: 0 / 455.5 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001686/0.68, allocations: 0.5898 MB / 456.1 MB, free: 484 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.6801, allocations: 144.9 kB / 456.2 MB, free: 312 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.681, allocations: 422.7 kB / 456.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.6811, allocations: 43.81 kB / 456.7 MB, free: 15.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.6814, allocations: 335.2 kB / 457 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.6817, allocations: 190.5 kB / 457.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.6818, allocations: 14.19 kB / 457.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6819, allocations: 376.3 kB / 457.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.6825, allocations: 199.1 kB / 457.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/0.6833, allocations: 365.3 kB / 458.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.6839, allocations: 227.2 kB / 458.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.6839, allocations: 0 / 458.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002137/0.6861, allocations: 0.7068 MB / 459.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007862/0.6869, allocations: 1.582 MB / 460.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.6869, allocations: 7.984 kB / 460.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/0.6877, allocations: 161.6 kB / 460.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.6886, allocations: 119.7 kB / 460.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.6938, allocations: 3.588 MB / 464.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/0.6948, allocations: 91.55 kB / 464.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.6949, allocations: 24 kB / 464.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6949, allocations: 4 kB / 464.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/0.6967, allocations: 0.6316 MB / 465.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6967, allocations: 4 kB / 465.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007554/0.6975, allocations: 162.1 kB / 465.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.6982, allocations: 107.8 kB / 465.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/0.7031, allocations: 3.59 MB / 469.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.704, allocations: 83.58 kB / 469.2 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.704, allocations: 24.09 kB / 469.2 MB, free: 2.852 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.7043, allocations: 160.8 kB / 469.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.7045, allocations: 63.25 kB / 469.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.7047, allocations: 85.61 kB / 469.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.7047, allocations: 8 kB / 469.5 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7047, allocations: 0 / 469.5 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.7048, allocations: 3.984 kB / 469.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.708, allocations: 1.493 MB / 471 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7081, allocations: 0 / 471 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.7087, allocations: 71.89 kB / 471.1 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006847/0.7094, allocations: 146 kB / 471.2 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.7095, allocations: 23.97 kB / 471.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004989/0.7145, allocations: 3.518 MB / 474.8 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7145, allocations: 0 / 474.8 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.717, allocations: 1.011 MB / 475.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.7174, allocations: 196.2 kB / 476 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.7176, allocations: 16 kB / 476 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.7183, allocations: 55.95 kB / 476.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.7186, allocations: 80.44 kB / 476.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.7187, allocations: 23.98 kB / 476.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006077/0.7193, allocations: 321.6 kB / 476.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7194, allocations: 0 / 476.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001737/0.7211, allocations: 367 kB / 476.8 MB, free: 10.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002864/0.724, allocations: 1.668 MB / 478.5 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.7272, allocations: 1.393 MB / 479.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7272, allocations: 4.062 kB / 479.9 MB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.7284, allocations: 0.5557 MB / 480.5 MB, free: 7.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.7294, allocations: 111 kB / 480.6 MB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.7331, allocations: 1.208 MB / 481.8 MB, free: 5.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.7338, allocations: 0.9827 MB / 482.8 MB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000764/0.7346, allocations: 124.9 kB / 482.9 MB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.7351, allocations: 248.6 kB / 483.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7351, allocations: 0 / 483.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/0.7931, allocations: 16.96 MB / 0.4884 GB, free: 3.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004064/0.7935, allocations: 245.9 kB / 0.4886 GB, free: 3.418 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/3.938, allocations: 3.375 kB / 0.4886 GB, free: 3.418 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat