Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.765e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.4847, allocations: 81.44 MB / 375.7 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.4851, allocations: 87.94 kB / 375.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05631/0.5415, allocations: 12.51 MB / 388.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5415, allocations: 0 / 388.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.93e-05/0.5416, allocations: 16 kB / 388.3 MB, free: 3.699 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002447/0.5441, allocations: 0.8494 MB / 389.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5441, allocations: 12.03 kB / 389.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.5444, allocations: 79.06 kB / 389.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5456, allocations: 488.1 kB / 389.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.5456, allocations: 24 kB / 389.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.5458, allocations: 43.98 kB / 389.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/0.5471, allocations: 402.5 kB / 390.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.5485, allocations: 0.5342 MB / 390.7 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.5485, allocations: 3.953 kB / 390.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.5486, allocations: 0 / 390.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.5487, allocations: 16 kB / 390.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.5541, allocations: 2.196 MB / 392.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5556, allocations: 446.8 kB / 393.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.5563, allocations: 233 kB / 393.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.597e-05/0.5564, allocations: 12 kB / 393.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006916/0.5571, allocations: 287.3 kB / 393.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.326e-06/0.5571, allocations: 0 / 393.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001219/0.5583, allocations: 400.7 kB / 394.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.5585, allocations: 144.5 kB / 394.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.5592, allocations: 361.7 kB / 394.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.5593, allocations: 33.69 kB / 394.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.5597, allocations: 316.1 kB / 395.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5599, allocations: 134.1 kB / 395.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.5599, allocations: 0 / 395.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5601, allocations: 366.7 kB / 395.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.5605, allocations: 141.1 kB / 395.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.561, allocations: 291.5 kB / 396 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.5615, allocations: 173.1 kB / 396.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5615, allocations: 0 / 396.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001375/0.5629, allocations: 0.4961 MB / 396.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006835/0.5636, allocations: 1.657 MB / 398.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.5636, allocations: 4 kB / 398.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.5641, allocations: 80.81 kB / 398.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.5649, allocations: 91.83 kB / 398.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.5673, allocations: 1.698 MB / 400.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.5682, allocations: 71.55 kB / 400.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.5683, allocations: 20 kB / 400.3 MB, free: 7.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5684, allocations: 11.81 kB / 400.3 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/0.5695, allocations: 418.9 kB / 400.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.5696, allocations: 8.594 kB / 400.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.57, allocations: 80.81 kB / 400.8 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.5706, allocations: 87.83 kB / 400.9 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.5729, allocations: 1.69 MB / 402.6 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.5737, allocations: 55.72 kB / 402.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.5738, allocations: 20 kB / 402.7 MB, free: 4.574 MB / 346.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 (62): * Single equations (assignments): 61 * 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.0002681/0.5741, allocations: 139.9 kB / 402.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001089/0.5752, allocations: 405.2 kB / 403.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5753, allocations: 47.44 kB / 403.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.5755, allocations: 48.95 kB / 403.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5755, allocations: 12.03 kB / 403.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5755, allocations: 0 / 403.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5755, allocations: 0 / 403.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.5781, allocations: 1.128 MB / 404.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5782, allocations: 8.094 kB / 404.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.5787, allocations: 51.91 kB / 404.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.579, allocations: 76.75 kB / 404.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.5791, allocations: 4 kB / 404.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.5813, allocations: 1.588 MB / 406.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5813, allocations: 0 / 406.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.5831, allocations: 0.7144 MB / 406.9 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.5834, allocations: 172.5 kB / 407 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.5836, allocations: 7.781 kB / 407 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.5842, allocations: 39.97 kB / 407.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.5844, allocations: 47.92 kB / 407.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.5845, allocations: 15.98 kB / 407.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004883/0.585, allocations: 267 kB / 407.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.585, allocations: 0 / 407.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001865/0.5868, allocations: 259.1 kB / 407.7 MB, free: 15.34 MB / 362.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 (40): * Single equations (assignments): 34 * 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.002573/0.5895, allocations: 1.356 MB / 409 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.5916, allocations: 0.8668 MB / 409.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5916, allocations: 0 / 409.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.5923, allocations: 323.3 kB / 410.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.5931, allocations: 57.91 kB / 410.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.5962, allocations: 0.9344 MB / 411.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.5969, allocations: 0.9226 MB / 412.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007093/0.5977, allocations: 108.3 kB / 412.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.5981, allocations: 211.4 kB / 412.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5981, allocations: 0 / 412.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3397/0.9378, allocations: 11.29 MB / 423.7 MB, free: 105 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.9381, allocations: 202.5 kB / 423.9 MB, free: 104.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/4.105, allocations: 2.531 kB / 423.9 MB, free: 104.8 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat