Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.787e-05, allocations: 4.172 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09875, allocations: 44.52 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6113, allocations: 81.19 MB / 375.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.6117, allocations: 88.39 kB / 375.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05327/0.665, allocations: 12.24 MB / 387.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.665, allocations: 0 / 387.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.6651, allocations: 15.5 kB / 387.8 MB, free: 18.93 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002151/0.6672, allocations: 0.8367 MB / 388.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.6673, allocations: 7.719 kB / 388.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.6675, allocations: 78 kB / 388.8 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6686, allocations: 475.8 kB / 389.2 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.6686, allocations: 19.34 kB / 389.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.6688, allocations: 42.69 kB / 389.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001164/0.67, allocations: 395 kB / 389.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.6713, allocations: 0.522 MB / 390.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.6714, allocations: 3.938 kB / 390.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-05/0.6715, allocations: 3.812 kB / 390.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6715, allocations: 11.62 kB / 390.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005129/0.6767, allocations: 2.165 MB / 392.4 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.6781, allocations: 437.8 kB / 392.8 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.6787, allocations: 239 kB / 393 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.6788, allocations: 3.781 kB / 393 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006218/0.6795, allocations: 291.9 kB / 393.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.717e-06/0.6795, allocations: 0 / 393.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001079/0.6806, allocations: 387.9 kB / 393.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.6806, allocations: 140.2 kB / 393.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.6813, allocations: 353.5 kB / 394.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.6814, allocations: 36.91 kB / 394.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.6816, allocations: 304 kB / 394.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6818, allocations: 140.8 kB / 394.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.6819, allocations: 0 / 394.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6821, allocations: 364.7 kB / 395 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.6824, allocations: 137.9 kB / 395.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.683, allocations: 292.9 kB / 395.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.6834, allocations: 168.1 kB / 395.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6834, allocations: 0 / 395.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001206/0.6846, allocations: 496.8 kB / 396.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000769/0.6854, allocations: 1.66 MB / 397.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6854, allocations: 3.219 kB / 397.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.6859, allocations: 83.3 kB / 397.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.6866, allocations: 92.55 kB / 397.9 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.6891, allocations: 1.678 MB / 399.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/0.6901, allocations: 78.23 kB / 399.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.6902, allocations: 19.06 kB / 399.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6902, allocations: 6.156 kB / 399.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/0.6913, allocations: 422.5 kB / 400.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6913, allocations: 7.75 kB / 400.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.6917, allocations: 72.98 kB / 400.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.6923, allocations: 93.42 kB / 400.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.6947, allocations: 1.698 MB / 402 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.6955, allocations: 58.67 kB / 402 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.6956, allocations: 30.94 kB / 402.1 MB, free: 10.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (61): * Single equations (assignments): 60 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.6959, allocations: 131.5 kB / 402.2 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009785/0.6969, allocations: 388 kB / 402.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.697, allocations: 58.59 kB / 402.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.6972, allocations: 45.38 kB / 402.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6972, allocations: 7.75 kB / 402.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6972, allocations: 0 / 402.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6972, allocations: 3.984 kB / 402.7 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.6997, allocations: 1.111 MB / 403.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6997, allocations: 7.875 kB / 403.8 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.7002, allocations: 50.53 kB / 403.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.7006, allocations: 72.78 kB / 403.9 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.7006, allocations: 7.859 kB / 403.9 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.7029, allocations: 1.591 MB / 405.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7029, allocations: 0 / 405.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.7046, allocations: 0.7166 MB / 406.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.705, allocations: 162.8 kB / 406.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.7051, allocations: 3.984 kB / 406.4 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.7057, allocations: 35.03 kB / 406.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.706, allocations: 54.14 kB / 406.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.706, allocations: 19.23 kB / 406.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000458/0.7065, allocations: 262.2 kB / 406.8 MB, free: 7.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7065, allocations: 0 / 406.8 MB, free: 7.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001496/0.708, allocations: 255.9 kB / 407 MB, free: 7.309 MB / 314.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: 18 (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_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00228/0.7103, allocations: 1.342 MB / 408.4 MB, free: 6.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.7124, allocations: 0.8601 MB / 409.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7124, allocations: 0 / 409.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006583/0.713, allocations: 325.5 kB / 409.5 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007321/0.7138, allocations: 68.61 kB / 409.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.7169, allocations: 0.9089 MB / 410.5 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.7176, allocations: 0.9237 MB / 411.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007159/0.7183, allocations: 102.8 kB / 411.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.7187, allocations: 201.8 kB / 411.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7187, allocations: 0 / 411.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06797/0.7867, allocations: 11.14 MB / 422.9 MB, free: 11 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003352/0.7871, allocations: 221.6 kB / 423.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.391/4.178, allocations: 0 / 423.1 MB, free: 10.7 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat