Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.373e-05, allocations: 4 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 50.42 MB / 342.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6685, allocations: 91.99 MB / 434.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.6689, allocations: 92.06 kB / 434.7 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1354/0.8044, allocations: 30.6 MB / 465.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8044, allocations: 0 / 465.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.8046, allocations: 39.98 kB / 465.4 MB, free: 7.926 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005961/0.8106, allocations: 1.586 MB / 467 MB, free: 6.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.8106, allocations: 8.031 kB / 467 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007591/0.8114, allocations: 201.8 kB / 467.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.812, allocations: 166 kB / 467.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007087/0.8191, allocations: 1.679 MB / 469 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.8193, allocations: 106.6 kB / 469.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.8198, allocations: 136 kB / 469.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00531/0.8251, allocations: 1.74 MB / 471 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.8252, allocations: 0 / 471 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.8255, allocations: 52 kB / 471 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.8256, allocations: 62.62 kB / 471.1 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/0.8305, allocations: 1.38 MB / 472.5 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.8467, allocations: 5.167 MB / 477.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.8497, allocations: 1.03 MB / 478.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.8515, allocations: 0.5927 MB / 479.3 MB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.064e-05/0.8516, allocations: 12.77 kB / 479.3 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.8532, allocations: 0.6214 MB / 479.9 MB, free: 9.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 5.4e-06/0.8533, allocations: 4 kB / 479.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.002967/0.8562, allocations: 1.027 MB / 480.9 MB, free: 8.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.8564, allocations: 175 kB / 481.1 MB, free: 7.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.8585, allocations: 0.8007 MB / 481.9 MB, free: 7.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.8589, allocations: 57.69 kB / 482 MB, free: 7.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/0.8597, allocations: 0.6109 MB / 482.6 MB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.8602, allocations: 260.4 kB / 482.8 MB, free: 6.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.8603, allocations: 20 kB / 482.8 MB, free: 6.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.8605, allocations: 350.8 kB / 483.2 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.8617, allocations: 437.8 kB / 483.6 MB, free: 5.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.8632, allocations: 0.6601 MB / 484.3 MB, free: 4.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.8645, allocations: 473.8 kB / 484.7 MB, free: 4.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.8646, allocations: 0 / 484.7 MB, free: 4.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003431/0.868, allocations: 1.203 MB / 485.9 MB, free: 2.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0013/0.8694, allocations: 2.538 MB / 488.5 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.8694, allocations: 7.984 kB / 488.5 MB, free: 196 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.8705, allocations: 216.9 kB / 488.7 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.8719, allocations: 163.7 kB / 488.9 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.8774, allocations: 2.769 MB / 491.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.8792, allocations: 159.3 kB / 491.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.8794, allocations: 39.94 kB / 491.8 MB, free: 12.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8794, allocations: 4 kB / 491.8 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003278/0.8827, allocations: 1.147 MB / 493 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/0.8828, allocations: 8 kB / 493 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008013/0.8836, allocations: 217 kB / 493.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.8849, allocations: 156.3 kB / 493.3 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005386/0.8903, allocations: 2.795 MB / 496.1 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.8916, allocations: 135.4 kB / 496.3 MB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.8918, allocations: 36 kB / 496.3 MB, free: 8.09 MB / 410.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_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,$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 (112): * Single equations (assignments): 111 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004529/0.8922, allocations: 216.6 kB / 496.5 MB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.8926, allocations: 98.78 kB / 496.6 MB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.893, allocations: 117.7 kB / 496.7 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.8931, allocations: 12 kB / 496.7 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8931, allocations: 0 / 496.7 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8931, allocations: 3.984 kB / 496.7 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007903/0.901, allocations: 2.689 MB / 499.4 MB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.9011, allocations: 7.953 kB / 499.4 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008992/0.902, allocations: 87.83 kB / 499.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/0.9029, allocations: 196.7 kB / 499.7 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/0.9031, allocations: 20 kB / 499.7 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/0.9086, allocations: 2.728 MB / 0.4907 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9086, allocations: 0 / 0.4907 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.9133, allocations: 1.762 MB / 0.4924 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.9144, allocations: 291.7 kB / 0.4927 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.9148, allocations: 20 kB / 0.4927 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.9161, allocations: 95.91 kB / 0.4928 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.9167, allocations: 144.5 kB / 0.4929 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.9168, allocations: 31.98 kB / 0.493 GB, free: 15.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001583/0.9184, allocations: 0.6045 MB / 0.4936 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.9185, allocations: 4 kB / 0.4936 GB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003018/0.9215, allocations: 0.5954 MB / 0.4941 GB, free: 14.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005518/0.9271, allocations: 2.52 MB / 0.4966 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005785/0.9329, allocations: 1.919 MB / 0.4985 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.933, allocations: 1.125 kB / 0.4985 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.9351, allocations: 0.7153 MB / 0.4992 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.9372, allocations: 203.3 kB / 0.4994 GB, free: 8.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/0.9461, allocations: 2.413 MB / 0.5017 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/0.9479, allocations: 1.416 MB / 0.5031 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.9492, allocations: 475.3 kB / 0.5036 GB, free: 4.309 MB / 426.7 MB Notification: Performance of SimCode: time 1.654e-06/0.9492, allocations: 0 / 0.5036 GB, free: 4.309 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.379/4.329, allocations: 29.23 MB / 0.5321 GB, free: 132.4 MB / 442.7 MB