Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.151e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.0951, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5429, allocations: 84.75 MB / 384.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5432, allocations: 90.34 kB / 384.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.6462, allocations: 27.84 MB / 412.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6462, allocations: 0 / 412.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001098/0.6464, allocations: 34.09 kB / 412.7 MB, free: 5.336 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.004441/0.6508, allocations: 1.503 MB / 414.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6509, allocations: 11.66 kB / 414.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000529/0.6514, allocations: 190.1 kB / 414.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.6519, allocations: 155.3 kB / 414.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005876/0.6578, allocations: 1.624 MB / 416.1 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.6579, allocations: 107.9 kB / 416.2 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.6583, allocations: 119.3 kB / 416.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003998/0.6623, allocations: 1.649 MB / 418 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/0.6624, allocations: 0 / 418 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.6626, allocations: 53.62 kB / 418.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.719e-05/0.6627, allocations: 56.48 kB / 418.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.666, allocations: 1.314 MB / 419.4 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.6774, allocations: 4.855 MB / 424.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.68, allocations: 1.033 MB / 425.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.6813, allocations: 0.5441 MB / 425.9 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.6814, allocations: 16.3 kB / 425.9 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.6826, allocations: 0.5726 MB / 426.4 MB, free: 256 kB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.185e-06/0.6826, allocations: 3.844 kB / 426.5 MB, free: 256 kB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.002488/0.6851, allocations: 0.9938 MB / 427.4 MB, free: 0 / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.6853, allocations: 156.5 kB / 427.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.6869, allocations: 0.7646 MB / 428.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.6872, allocations: 57.75 kB / 428.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.688, allocations: 0.5766 MB / 429 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.6885, allocations: 228.1 kB / 429.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.6886, allocations: 24.16 kB / 429.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.6888, allocations: 350.6 kB / 429.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.6898, allocations: 402.1 kB / 430 MB, free: 14.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.6909, allocations: 0.6152 MB / 430.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009945/0.692, allocations: 437.3 kB / 431 MB, free: 14.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.692, allocations: 3.875 kB / 431 MB, free: 14.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002629/0.6946, allocations: 1.142 MB / 432.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.6959, allocations: 2.531 MB / 434.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.6959, allocations: 7.406 kB / 434.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/0.6968, allocations: 231.4 kB / 434.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.6979, allocations: 144.5 kB / 435.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.703, allocations: 2.898 MB / 438 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.7044, allocations: 150.7 kB / 438.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.7046, allocations: 35.25 kB / 438.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.7046, allocations: 3.875 kB / 438.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002513/0.7071, allocations: 1.091 MB / 439.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7071, allocations: 3.875 kB / 439.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007317/0.7079, allocations: 232.3 kB / 439.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.7088, allocations: 136.8 kB / 439.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/0.7142, allocations: 2.931 MB / 442.5 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.7153, allocations: 131.6 kB / 442.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.7154, allocations: 36 kB / 442.7 MB, free: 4.551 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.7158, allocations: 196.8 kB / 442.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.7162, allocations: 94.83 kB / 443 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.7166, allocations: 116.9 kB / 443.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.7166, allocations: 8 kB / 443.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7166, allocations: 0 / 443.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7166, allocations: 3.984 kB / 443.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/0.7239, allocations: 2.632 MB / 445.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.724, allocations: 3.984 kB / 445.8 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.7246, allocations: 63.91 kB / 445.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007763/0.7254, allocations: 210 kB / 446 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/0.7255, allocations: 16 kB / 446 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004895/0.7304, allocations: 2.652 MB / 448.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7305, allocations: 0 / 448.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.7347, allocations: 1.655 MB / 450.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006879/0.7355, allocations: 256 kB / 450.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.7357, allocations: 23.98 kB / 450.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.7367, allocations: 87.92 kB / 450.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/0.7372, allocations: 140.5 kB / 450.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.7373, allocations: 20 kB / 450.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001297/0.7386, allocations: 0.5889 MB / 451.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7386, allocations: 0 / 451.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002129/0.7408, allocations: 0.572 MB / 452 MB, free: 11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004646/0.7454, allocations: 2.334 MB / 454.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004579/0.75, allocations: 1.866 MB / 456.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7501, allocations: 448 / 456.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.7516, allocations: 0.6562 MB / 456.9 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.7531, allocations: 179 kB / 457 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.7594, allocations: 2.21 MB / 459.3 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.761, allocations: 1.366 MB / 460.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.762, allocations: 431.3 kB / 461 MB, free: 1.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.762, allocations: 4 kB / 461.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.129/3.891, allocations: 27.55 MB / 488.6 MB, free: 6.27 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat