Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.571e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5379/0.6767, allocations: 103.1 MB / 0.5014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.677, allocations: 71.97 kB / 0.5015 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1372/0.8142, allocations: 33.11 MB / 0.5338 GB, free: 15.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8143, allocations: 3.938 kB / 0.5338 GB, free: 15.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002398/0.8145, allocations: 59.94 kB / 0.5339 GB, free: 15.44 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.008002/0.8225, allocations: 2.137 MB / 0.536 GB, free: 13.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.8226, allocations: 8.031 kB / 0.536 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.8237, allocations: 269.9 kB / 0.5363 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.8246, allocations: 249.2 kB / 0.5365 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00913/0.8337, allocations: 2.212 MB / 0.5387 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.834, allocations: 151.6 kB / 0.5388 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006663/0.8347, allocations: 180 kB / 0.539 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007591/0.8423, allocations: 2.495 MB / 0.5414 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/0.8424, allocations: 8 kB / 0.5414 GB, free: 7.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.8428, allocations: 75.98 kB / 0.5415 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.8429, allocations: 75.64 kB / 0.5416 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006876/0.8498, allocations: 2.057 MB / 0.5436 GB, free: 5.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/0.872, allocations: 7.398 MB / 0.5508 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004382/0.8764, allocations: 1.744 MB / 0.5525 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/0.88, allocations: 1.289 MB / 0.5538 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.8801, allocations: 17 kB / 0.5538 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/0.8824, allocations: 0.9548 MB / 0.5547 GB, free: 9.762 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 4.779e-06/0.8824, allocations: 0 / 0.5547 GB, free: 9.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.004885/0.8873, allocations: 1.812 MB / 0.5565 GB, free: 7.938 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.8875, allocations: 256.6 kB / 0.5567 GB, free: 7.633 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/0.8903, allocations: 1.19 MB / 0.5579 GB, free: 6.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.8906, allocations: 73.67 kB / 0.5579 GB, free: 6.352 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.8917, allocations: 0.8239 MB / 0.5588 GB, free: 5.516 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006187/0.8924, allocations: 402.4 kB / 0.5591 GB, free: 5.117 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.8925, allocations: 32 kB / 0.5592 GB, free: 5.086 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.8927, allocations: 357.9 kB / 0.5595 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.8945, allocations: 0.6833 MB / 0.5602 GB, free: 4.047 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.8967, allocations: 0.9872 MB / 0.5611 GB, free: 2.945 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.8986, allocations: 0.7544 MB / 0.5619 GB, free: 2.195 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.8986, allocations: 4 kB / 0.5619 GB, free: 2.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00541/0.904, allocations: 2.066 MB / 0.5639 GB, free: 116 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001196/0.9053, allocations: 2.472 MB / 0.5663 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.9053, allocations: 15.88 kB / 0.5663 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.9078, allocations: 0.5511 MB / 0.5669 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.9094, allocations: 191.7 kB / 0.567 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.9228, allocations: 6.01 MB / 0.5729 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.9251, allocations: 222.9 kB / 0.5731 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.9253, allocations: 55.94 kB / 0.5732 GB, free: 6.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.9254, allocations: 4 kB / 0.5732 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005895/0.9313, allocations: 1.918 MB / 0.5751 GB, free: 4.363 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.9314, allocations: 4 kB / 0.5751 GB, free: 4.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.9342, allocations: 0.5517 MB / 0.5756 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.9361, allocations: 191.7 kB / 0.5758 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/0.9618, allocations: 5.988 MB / 0.5816 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/0.9744, allocations: 199 kB / 0.5818 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/0.9748, allocations: 44 kB / 0.5819 GB, free: 13.25 MB / 0.4948 GB 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_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,$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 (132): * Single equations (assignments): 131 * 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.0006867/0.9755, allocations: 235.3 kB / 0.5821 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/0.9783, allocations: 142.3 kB / 0.5822 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007348/0.979, allocations: 190.6 kB / 0.5824 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.9791, allocations: 12 kB / 0.5824 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.9791, allocations: 4 kB / 0.5824 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.9791, allocations: 11.88 kB / 0.5824 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.005, allocations: 4.072 MB / 0.5864 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.005, allocations: 0 / 0.5864 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.006, allocations: 99.89 kB / 0.5865 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002728/1.009, allocations: 0.5287 MB / 0.587 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/1.009, allocations: 27.98 kB / 0.587 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02458/1.033, allocations: 5.92 MB / 0.5928 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.033, allocations: 0 / 0.5928 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007228/1.041, allocations: 2.814 MB / 0.5956 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.042, allocations: 406.9 kB / 0.596 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/1.043, allocations: 32.08 kB / 0.596 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.044, allocations: 131.8 kB / 0.5961 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/1.045, allocations: 193 kB / 0.5963 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.045, allocations: 35.98 kB / 0.5963 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002299/1.047, allocations: 0.9059 MB / 0.5972 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.82e-07/1.048, allocations: 0 / 0.5972 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004104/1.052, allocations: 0.9578 MB / 0.5982 GB, free: 12.3 MB / 0.5105 GB 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.007703/1.059, allocations: 3.436 MB / 0.6015 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008793/1.068, allocations: 3.234 MB / 0.6047 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.068, allocations: 4 kB / 0.6047 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003109/1.071, allocations: 1.115 MB / 0.6058 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.075, allocations: 364.5 kB / 0.6061 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/1.086, allocations: 3.679 MB / 0.6097 GB, free: 376 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3413/1.427, allocations: 1.833 MB / 0.6115 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003547/1.43, allocations: 0.6561 MB / 0.6121 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.432, allocations: 0.6687 MB / 0.6128 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.204e-06/1.432, allocations: 0 / 0.6128 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/1.559, allocations: 47.99 MB / 0.6596 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.559, allocations: 204.8 kB / 0.6598 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.013/5.572, allocations: 0 / 0.6598 GB, free: 138.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat