Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.704e-05, allocations: 7.984 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3957, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.573, allocations: 96.34 MB / 456.2 MB, free: 460 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5732, allocations: 75.31 kB / 456.3 MB, free: 388 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1298/0.703, allocations: 31.58 MB / 487.9 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7031, allocations: 0 / 487.9 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002342/0.7033, allocations: 59.92 kB / 487.9 MB, free: 0.5547 MB / 410.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.007841/0.7112, allocations: 2.07 MB / 490 MB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.7113, allocations: 12.03 kB / 490 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.7123, allocations: 261.5 kB / 490.3 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.7132, allocations: 233.3 kB / 490.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00895/0.7221, allocations: 2.172 MB / 492.7 MB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.7224, allocations: 139.5 kB / 492.8 MB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006439/0.7231, allocations: 176 kB / 493 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00758/0.7307, allocations: 2.437 MB / 495.4 MB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-05/0.7308, allocations: 7.953 kB / 495.4 MB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002998/0.7311, allocations: 72 kB / 495.5 MB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.7312, allocations: 79.44 kB / 495.6 MB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00597/0.7372, allocations: 2.005 MB / 497.6 MB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.7576, allocations: 7.187 MB / 0.4929 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005655/0.7633, allocations: 1.767 MB / 0.4946 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/0.7668, allocations: 1.263 MB / 0.4959 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.7669, allocations: 13 kB / 0.4959 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/0.7691, allocations: 0.9217 MB / 0.4968 GB, free: 11.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 4.448e-06/0.7691, allocations: 0 / 0.4968 GB, free: 11.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.004921/0.774, allocations: 1.777 MB / 0.4985 GB, free: 9.594 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.7742, allocations: 234.6 kB / 0.4987 GB, free: 9.312 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.7768, allocations: 1.156 MB / 0.4999 GB, free: 8.145 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.7771, allocations: 73.69 kB / 0.4999 GB, free: 8.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.7781, allocations: 0.7964 MB / 0.5007 GB, free: 7.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.7787, allocations: 378.8 kB / 0.5011 GB, free: 6.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7788, allocations: 24 kB / 0.5011 GB, free: 6.859 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.779, allocations: 373.8 kB / 0.5015 GB, free: 6.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.7806, allocations: 0.6481 MB / 0.5021 GB, free: 5.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.7826, allocations: 0.9599 MB / 0.503 GB, free: 4.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.7844, allocations: 0.7156 MB / 0.5037 GB, free: 4.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.7844, allocations: 4 kB / 0.5037 GB, free: 4.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005037/0.7895, allocations: 2.019 MB / 0.5057 GB, free: 2.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.7905, allocations: 2.453 MB / 0.5081 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.7906, allocations: 12 kB / 0.5081 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.7928, allocations: 0.5511 MB / 0.5087 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.7942, allocations: 175.7 kB / 0.5088 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.8072, allocations: 6 MB / 0.5147 GB, free: 8.512 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.8093, allocations: 210.9 kB / 0.5149 GB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.8095, allocations: 48 kB / 0.5149 GB, free: 8.258 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8095, allocations: 4 kB / 0.5149 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004581/0.8141, allocations: 1.867 MB / 0.5168 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.8142, allocations: 12.12 kB / 0.5168 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.8162, allocations: 0.5552 MB / 0.5173 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.8175, allocations: 171.7 kB / 0.5175 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3155/1.133, allocations: 5.954 MB / 0.5233 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.135, allocations: 192.8 kB / 0.5235 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/1.135, allocations: 48.33 kB / 0.5235 GB, free: 123.1 MB / 458.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.0005612/1.136, allocations: 223.2 kB / 0.5237 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/1.136, allocations: 146 kB / 0.5239 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/1.137, allocations: 180.1 kB / 0.524 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.137, allocations: 15.75 kB / 0.5241 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.137, allocations: 1.031 kB / 0.5241 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/1.137, allocations: 6.844 kB / 0.5241 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.149, allocations: 3.895 MB / 0.5279 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.149, allocations: 1.703 kB / 0.5279 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/1.15, allocations: 102.4 kB / 0.528 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/1.152, allocations: 0.522 MB / 0.5285 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/1.153, allocations: 24.22 kB / 0.5285 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.165, allocations: 5.923 MB / 0.5343 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.165, allocations: 5.375 kB / 0.5343 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/1.172, allocations: 2.664 MB / 0.5369 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.173, allocations: 387.3 kB / 0.5373 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.174, allocations: 37.62 kB / 0.5373 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.175, allocations: 125.8 kB / 0.5374 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007377/1.176, allocations: 187.3 kB / 0.5376 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.176, allocations: 33.81 kB / 0.5376 GB, free: 120.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0021/1.178, allocations: 0.8791 MB / 0.5385 GB, free: 120.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.178, allocations: 3.625 kB / 0.5385 GB, free: 120.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004043/1.182, allocations: 0.9253 MB / 0.5394 GB, free: 120.7 MB / 458.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[3].off,rectifier.thyristor_p.idealThyristor[1].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.006988/1.189, allocations: 3.308 MB / 0.5426 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008681/1.198, allocations: 3.19 MB / 0.5457 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.198, allocations: 1.094 kB / 0.5457 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.201, allocations: 1.103 MB / 0.5468 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.204, allocations: 365.2 kB / 0.5472 GB, free: 117.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/1.214, allocations: 3.537 MB / 0.5506 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/1.215, allocations: 1.803 MB / 0.5524 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002898/1.218, allocations: 0.6219 MB / 0.553 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.22, allocations: 0.632 MB / 0.5536 GB, free: 114.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.475e-06/1.22, allocations: 0 / 0.5536 GB, free: 114.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/1.333, allocations: 47.1 MB / 0.5996 GB, free: 86.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.334, allocations: 209.8 kB / 0.5998 GB, free: 86.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.174/5.507, allocations: 1.688 kB / 0.5998 GB, free: 86.45 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat