Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.386e-05, allocations: 0 / 292.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 50.41 MB / 342.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5695, allocations: 93.01 MB / 435.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.5699, allocations: 90.86 kB / 435.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.162/0.7319, allocations: 38.1 MB / 473.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7319, allocations: 4 kB / 473.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.7321, allocations: 47.94 kB / 473.9 MB, free: 15.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.007223/0.7394, allocations: 2.045 MB / 476 MB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.7394, allocations: 12.03 kB / 476 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008976/0.7404, allocations: 265.4 kB / 476.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/0.7411, allocations: 229.3 kB / 476.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009401/0.7505, allocations: 1.996 MB / 478.4 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.751, allocations: 135.4 kB / 478.6 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.7522, allocations: 172 kB / 478.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.7624, allocations: 2.383 MB / 481.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.7625, allocations: 4 kB / 481.1 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.7628, allocations: 72 kB / 481.2 MB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.763, allocations: 75.47 kB / 481.3 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00565/0.7686, allocations: 1.994 MB / 483.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/0.7906, allocations: 7.4 MB / 490.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.7945, allocations: 1.474 MB / 492.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.7971, allocations: 0.9394 MB / 493.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.7973, allocations: 10.89 kB / 493.1 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00226/0.7996, allocations: 0.8693 MB / 494 MB, free: 10.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.649e-06/0.7996, allocations: 0 / 494 MB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.004358/0.804, allocations: 1.54 MB / 495.5 MB, free: 9.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.8042, allocations: 161.4 kB / 495.7 MB, free: 8.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.8071, allocations: 1.128 MB / 496.8 MB, free: 7.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.8075, allocations: 65.69 kB / 496.9 MB, free: 7.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.8086, allocations: 0.7849 MB / 497.6 MB, free: 6.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.8093, allocations: 351.2 kB / 498 MB, free: 6.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.8095, allocations: 20 kB / 498 MB, free: 6.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.8097, allocations: 361.9 kB / 498.4 MB, free: 6.105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.8113, allocations: 0.6077 MB / 499 MB, free: 5.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.8133, allocations: 0.8247 MB / 499.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.8151, allocations: 0.6413 MB / 0.4887 GB, free: 3.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.8151, allocations: 0 / 0.4887 GB, free: 3.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004862/0.82, allocations: 1.766 MB / 0.4904 GB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007992/0.8208, allocations: 1.939 MB / 0.4923 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.8209, allocations: 8 kB / 0.4923 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.8228, allocations: 435.4 kB / 0.4927 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.8244, allocations: 179.7 kB / 0.4929 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009804/0.8343, allocations: 4.379 MB / 0.4972 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.8364, allocations: 183.2 kB / 0.4974 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.8367, allocations: 36 kB / 0.4974 GB, free: 10.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8367, allocations: 4 kB / 0.4974 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00467/0.8414, allocations: 1.629 MB / 0.499 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.8415, allocations: 4.625 kB / 0.499 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.8432, allocations: 435.9 kB / 0.4994 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.8448, allocations: 175.7 kB / 0.4996 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009499/0.8543, allocations: 4.372 MB / 0.5039 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.8564, allocations: 159.3 kB / 0.504 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.8566, allocations: 43.98 kB / 0.504 GB, free: 3.824 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005462/0.8572, allocations: 228.3 kB / 0.5043 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.8577, allocations: 138.3 kB / 0.5044 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.8583, allocations: 173 kB / 0.5046 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.8583, allocations: 8 kB / 0.5046 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8583, allocations: 4 kB / 0.5046 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.8584, allocations: 7.969 kB / 0.5046 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.8689, allocations: 3.704 MB / 0.5082 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.869, allocations: 0 / 0.5082 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8702, allocations: 119.8 kB / 0.5083 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.8718, allocations: 412.8 kB / 0.5087 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/0.872, allocations: 19.98 kB / 0.5087 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.8828, allocations: 4.155 MB / 0.5128 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.8828, allocations: 0 / 0.5128 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/0.8925, allocations: 2.572 MB / 0.5153 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/0.8945, allocations: 383.2 kB / 0.5157 GB, free: 7.688 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007459/0.8953, allocations: 35.92 kB / 0.5157 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.8979, allocations: 111.9 kB / 0.5158 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/0.8993, allocations: 224.6 kB / 0.516 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/0.8995, allocations: 35.98 kB / 0.516 GB, free: 7.289 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003407/0.9029, allocations: 0.8649 MB / 0.5169 GB, free: 6.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.903, allocations: 0 / 0.5169 GB, free: 6.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005933/0.9089, allocations: 0.8525 MB / 0.5177 GB, free: 5.559 MB / 442.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/0.9202, allocations: 3.222 MB / 0.5209 GB, free: 2.305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3313/1.252, allocations: 2.819 MB / 0.5236 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.252, allocations: 2.969 kB / 0.5236 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003053/1.255, allocations: 1.005 MB / 0.5246 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.258, allocations: 294.4 kB / 0.5249 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.274, allocations: 3.406 MB / 0.5282 GB, free: 127.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/1.277, allocations: 1.787 MB / 0.53 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004814/1.282, allocations: 0.6365 MB / 0.5306 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002036/1.284, allocations: 0.6281 MB / 0.5312 GB, free: 126.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.943e-06/1.284, allocations: 1.219 kB / 0.5312 GB, free: 126.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/1.399, allocations: 41.36 MB / 0.5716 GB, free: 116 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/1.4, allocations: 246.3 kB / 0.5718 GB, free: 115.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.161/5.561, allocations: 6.812 kB / 0.5718 GB, free: 115.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat