Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.547/2.547, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.705e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.5608, allocations: 95.67 MB / 450.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5611, allocations: 71.91 kB / 450.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4536/1.015, allocations: 31.25 MB / 481.4 MB, free: 91.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.015, allocations: 3.906 kB / 481.4 MB, free: 91.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002169/1.015, allocations: 49.97 kB / 481.5 MB, free: 91.61 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.007314/1.022, allocations: 2.08 MB / 483.6 MB, free: 90.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.022, allocations: 7.594 kB / 483.6 MB, free: 90.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.023, allocations: 237.5 kB / 483.8 MB, free: 90.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00836/1.032, allocations: 2.166 MB / 486 MB, free: 89.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.032, allocations: 67.22 kB / 486 MB, free: 89.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005497/1.033, allocations: 103.4 kB / 486.1 MB, free: 89.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005669/1.038, allocations: 1.914 MB / 488.1 MB, free: 88.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006236/1.045, allocations: 2.179 MB / 490.2 MB, free: 86.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/1.045, allocations: 4 kB / 490.2 MB, free: 86.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/1.045, allocations: 4 kB / 490.2 MB, free: 86.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/1.045, allocations: 75.44 kB / 490.3 MB, free: 86.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/1.064, allocations: 6.842 MB / 497.2 MB, free: 79.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/1.068, allocations: 1.686 MB / 498.8 MB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/1.071, allocations: 1.13 MB / 500 MB, free: 76.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.071, allocations: 17.3 kB / 500 MB, free: 76.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/1.073, allocations: 0.881 MB / 0.4891 GB, free: 75.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 5.09e-06/1.073, allocations: 0 / 0.4891 GB, free: 75.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.004302/1.077, allocations: 1.634 MB / 0.4907 GB, free: 73.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.077, allocations: 238.9 kB / 0.491 GB, free: 73.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/1.08, allocations: 1.008 MB / 0.4919 GB, free: 72.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003411/1.08, allocations: 41.69 kB / 0.492 GB, free: 72.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008775/1.081, allocations: 0.8032 MB / 0.4928 GB, free: 71.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000523/1.082, allocations: 362.7 kB / 0.4931 GB, free: 71.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/1.082, allocations: 0 / 0.4931 GB, free: 71.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/1.082, allocations: 361.9 kB / 0.4935 GB, free: 70.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.083, allocations: 0.6247 MB / 0.4941 GB, free: 70.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.085, allocations: 0.9169 MB / 0.495 GB, free: 69.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.087, allocations: 0.6933 MB / 0.4956 GB, free: 68.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.087, allocations: 3.953 kB / 0.4956 GB, free: 68.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004717/1.091, allocations: 1.874 MB / 0.4975 GB, free: 66.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005323/1.092, allocations: 2.453 MB / 0.4999 GB, free: 64.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.092, allocations: 4 kB / 0.4999 GB, free: 64.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.094, allocations: 0.5472 MB / 0.5004 GB, free: 63.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.096, allocations: 183.8 kB / 0.5006 GB, free: 63.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.108, allocations: 5.877 MB / 0.5063 GB, free: 57.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.11, allocations: 186.9 kB / 0.5065 GB, free: 57.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.111, allocations: 47.94 kB / 0.5065 GB, free: 57.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.111, allocations: 4.625 kB / 0.5065 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003988/1.115, allocations: 1.714 MB / 0.5082 GB, free: 55.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/1.115, allocations: 8 kB / 0.5082 GB, free: 55.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/1.117, allocations: 0.5403 MB / 0.5088 GB, free: 54.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.118, allocations: 171.7 kB / 0.5089 GB, free: 54.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.13, allocations: 5.877 MB / 0.5147 GB, free: 48.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.132, allocations: 155.1 kB / 0.5148 GB, free: 48.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.133, allocations: 48.06 kB / 0.5149 GB, free: 48.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($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,$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,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,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 (126): * Single equations (assignments): 125 * 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 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004675/1.133, allocations: 184.8 kB / 0.515 GB, free: 48.29 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004108/1.137, allocations: 1.632 MB / 0.5166 GB, free: 46.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/1.138, allocations: 134.4 kB / 0.5168 GB, free: 46.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/1.138, allocations: 157.4 kB / 0.5169 GB, free: 46.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.138, allocations: 12 kB / 0.5169 GB, free: 46.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.138, allocations: 0 / 0.5169 GB, free: 46.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/1.138, allocations: 7.969 kB / 0.5169 GB, free: 46.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/1.148, allocations: 3.554 MB / 0.5204 GB, free: 42.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.148, allocations: 0 / 0.5204 GB, free: 42.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009397/1.149, allocations: 95.89 kB / 0.5205 GB, free: 42.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/1.151, allocations: 0.521 MB / 0.521 GB, free: 42.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.151, allocations: 3.984 kB / 0.521 GB, free: 42.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/1.163, allocations: 5.763 MB / 0.5266 GB, free: 36.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.163, allocations: 8 kB / 0.5266 GB, free: 36.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/1.169, allocations: 2.563 MB / 0.5291 GB, free: 33.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.17, allocations: 379.1 kB / 0.5295 GB, free: 33.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/1.17, allocations: 11.98 kB / 0.5295 GB, free: 33.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.172, allocations: 103.9 kB / 0.5296 GB, free: 33.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007428/1.173, allocations: 189 kB / 0.5298 GB, free: 32.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.173, allocations: 32 kB / 0.5298 GB, free: 32.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001653/1.174, allocations: 0.7491 MB / 0.5305 GB, free: 32.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.174, allocations: 0 / 0.5305 GB, free: 32.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004146/1.179, allocations: 0.8524 MB / 0.5314 GB, free: 31.34 MB / 394.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[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,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.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.00651/1.185, allocations: 3.182 MB / 0.5345 GB, free: 28.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007777/1.193, allocations: 3.044 MB / 0.5375 GB, free: 25.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.193, allocations: 4 kB / 0.5375 GB, free: 25.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/1.196, allocations: 1.06 MB / 0.5385 GB, free: 24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.199, allocations: 309.2 kB / 0.5388 GB, free: 23.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.209, allocations: 3.418 MB / 0.5421 GB, free: 20.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/1.211, allocations: 1.807 MB / 0.5439 GB, free: 18.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003121/1.214, allocations: 0.5806 MB / 0.5445 GB, free: 17.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.216, allocations: 0.6281 MB / 0.5451 GB, free: 17.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/1.216, allocations: 0 / 0.5451 GB, free: 17.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/1.369, allocations: 42.89 MB / 0.587 GB, free: 6.301 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003397/1.369, allocations: 167.7 kB / 0.5871 GB, free: 6.109 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.384/5.754, allocations: 0 / 0.5871 GB, free: 6.109 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat