Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.561e-05, allocations: 3.094 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09768, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5436, allocations: 78.86 MB / 373.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.544, allocations: 85.12 kB / 373.3 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04191/0.5859, allocations: 9.138 MB / 382.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.586, allocations: 3.609 kB / 382.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.837e-05/0.586, allocations: 7.844 kB / 382.4 MB, free: 20.59 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001852/0.5879, allocations: 0.6941 MB / 383.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5879, allocations: 11.47 kB / 383.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.5881, allocations: 58.33 kB / 383.2 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.5889, allocations: 371.6 kB / 383.5 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.589, allocations: 15.47 kB / 383.5 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5891, allocations: 25.81 kB / 383.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008374/0.59, allocations: 271 kB / 383.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.591, allocations: 380.5 kB / 384.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.591, allocations: 3.984 kB / 384.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.5911, allocations: 0 / 384.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5911, allocations: 15.44 kB / 384.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.5951, allocations: 1.494 MB / 385.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5965, allocations: 331.2 kB / 386 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.5968, allocations: 100.3 kB / 386.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5968, allocations: 11.92 kB / 386.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.5974, allocations: 226 kB / 386.4 MB, free: 18.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 5.13e-06/0.5974, allocations: 3.984 kB / 386.4 MB, free: 18.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009752/0.5984, allocations: 297 kB / 386.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.5985, allocations: 113.8 kB / 386.8 MB, free: 18.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.5989, allocations: 260.2 kB / 387 MB, free: 18.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.599, allocations: 33.58 kB / 387.1 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.5992, allocations: 231 kB / 387.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.5993, allocations: 92.61 kB / 387.4 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.5993, allocations: 0 / 387.4 MB, free: 17.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5995, allocations: 346.1 kB / 387.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.5998, allocations: 101.6 kB / 387.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.6001, allocations: 242 kB / 388.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.6005, allocations: 111.4 kB / 388.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6005, allocations: 3.875 kB / 388.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009397/0.6014, allocations: 370.9 kB / 388.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.6022, allocations: 1.665 MB / 390.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6022, allocations: 7.625 kB / 390.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.6025, allocations: 44.25 kB / 390.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.6031, allocations: 77.67 kB / 390.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.6049, allocations: 1.44 MB / 391.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.6056, allocations: 62.7 kB / 391.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.6057, allocations: 14.94 kB / 391.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6057, allocations: 7.828 kB / 391.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007796/0.6065, allocations: 299.9 kB / 392.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6065, allocations: 3.938 kB / 392.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.6067, allocations: 42.72 kB / 392.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.6073, allocations: 86.52 kB / 392.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.6089, allocations: 1.446 MB / 393.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.6095, allocations: 43 kB / 393.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.6096, allocations: 19.22 kB / 393.8 MB, free: 12.61 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: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.6098, allocations: 138.2 kB / 393.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008675/0.6107, allocations: 291.2 kB / 394.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.6108, allocations: 30.88 kB / 394.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.611, allocations: 39.88 kB / 394.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.611, allocations: 3.594 kB / 394.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.611, allocations: 0 / 394.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.611, allocations: 0 / 394.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.6127, allocations: 0.7713 MB / 395 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6127, allocations: 0 / 395 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.6131, allocations: 49.56 kB / 395.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.6134, allocations: 42.97 kB / 395.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.6134, allocations: 3.719 kB / 395.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.615, allocations: 1.347 MB / 396.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.615, allocations: 0 / 396.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.6162, allocations: 0.5051 MB / 397 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.6164, allocations: 134 kB / 397.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6166, allocations: 15.44 kB / 397.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.6172, allocations: 47.16 kB / 397.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.6174, allocations: 34.41 kB / 397.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.6174, allocations: 7.812 kB / 397.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003167/0.6177, allocations: 197.5 kB / 397.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6178, allocations: 0 / 397.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001279/0.6191, allocations: 174.9 kB / 397.6 MB, free: 10.16 MB / 314.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/0.6207, allocations: 1.076 MB / 398.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.6223, allocations: 0.654 MB / 399.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.6223, allocations: 0 / 399.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.6229, allocations: 249.4 kB / 399.6 MB, free: 9.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.6235, allocations: 39.55 kB / 399.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.6261, allocations: 0.6517 MB / 400.2 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.6269, allocations: 0.8496 MB / 401.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000622/0.6275, allocations: 81.23 kB / 401.2 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.6278, allocations: 134.2 kB / 401.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6278, allocations: 3.188 kB / 401.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07733/0.7052, allocations: 7.732 MB / 409 MB, free: 4.164 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003612/0.7056, allocations: 215.8 kB / 409.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.231/3.936, allocations: 3.938 kB / 409.3 MB, free: 3.887 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat