Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.246e-05, allocations: 6.031 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.43 MB / 342.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.562, allocations: 86.26 MB / 428.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5623, allocations: 86.39 kB / 429 MB, free: 7.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04557/0.6079, allocations: 10.45 MB / 439.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.608, allocations: 4 kB / 439.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.469e-05/0.608, allocations: 11.98 kB / 439.5 MB, free: 14.65 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002091/0.6101, allocations: 0.7204 MB / 440.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6102, allocations: 8.031 kB / 440.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.6104, allocations: 83.83 kB / 440.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.6106, allocations: 59.34 kB / 440.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.6115, allocations: 389.4 kB / 440.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.6116, allocations: 28.56 kB / 440.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6117, allocations: 47.38 kB / 440.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.613, allocations: 474.5 kB / 441.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.613, allocations: 4 kB / 441.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.6131, allocations: 17.62 kB / 441.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.6132, allocations: 12 kB / 441.3 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.6141, allocations: 321.2 kB / 441.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.6185, allocations: 1.676 MB / 443.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.62, allocations: 380.4 kB / 443.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.6204, allocations: 122.1 kB / 443.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.6204, allocations: 8 kB / 443.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006307/0.6211, allocations: 248.4 kB / 444 MB, free: 10.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.015e-06/0.6211, allocations: 0 / 444 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001086/0.6222, allocations: 346.2 kB / 444.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6223, allocations: 136.5 kB / 444.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.6229, allocations: 282.5 kB / 444.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.6229, allocations: 43.38 kB / 444.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.6232, allocations: 297 kB / 445.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.6233, allocations: 101.3 kB / 445.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.6234, allocations: 7.25 kB / 445.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6235, allocations: 329.8 kB / 445.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.6239, allocations: 124.5 kB / 445.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.6243, allocations: 268.2 kB / 445.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.6247, allocations: 130.5 kB / 446 MB, free: 9.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.6247, allocations: 7.938 kB / 446 MB, free: 8.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001035/0.6258, allocations: 397.5 kB / 446.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007422/0.6265, allocations: 1.666 MB / 448.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.6266, allocations: 4 kB / 448.1 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.6269, allocations: 43.59 kB / 448.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.6276, allocations: 87.7 kB / 448.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.6295, allocations: 1.497 MB / 449.7 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.6302, allocations: 65.41 kB / 449.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.6303, allocations: 27.14 kB / 449.8 MB, free: 5.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6303, allocations: 4 kB / 449.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009548/0.6313, allocations: 361.9 kB / 450.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6313, allocations: 8.062 kB / 450.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.6315, allocations: 46.14 kB / 450.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.632, allocations: 75.41 kB / 450.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.6338, allocations: 1.483 MB / 451.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.6344, allocations: 66.22 kB / 451.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.6345, allocations: 19.5 kB / 451.9 MB, free: 3.219 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (49): * Single equations (assignments): 48 * 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.0002367/0.6347, allocations: 143.6 kB / 452 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6349, allocations: 39.7 kB / 452 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.635, allocations: 44 kB / 452.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.635, allocations: 4 kB / 452.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.635, allocations: 0 / 452.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6351, allocations: 0 / 452.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.6371, allocations: 0.909 MB / 453 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6371, allocations: 4.125 kB / 453 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.6376, allocations: 46.53 kB / 453.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.6378, allocations: 40.7 kB / 453.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.6379, allocations: 10.69 kB / 453.1 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.6396, allocations: 1.413 MB / 454.5 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6397, allocations: 0 / 454.5 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.6411, allocations: 0.5691 MB / 455.1 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.6414, allocations: 139.4 kB / 455.2 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.6415, allocations: 7.125 kB / 455.2 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6421, allocations: 53.27 kB / 455.3 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6422, allocations: 34.64 kB / 455.3 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.6423, allocations: 15.98 kB / 455.3 MB, free: 56 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003802/0.6427, allocations: 228 kB / 455.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6427, allocations: 0 / 455.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001135/0.6438, allocations: 204.5 kB / 455.7 MB, free: 15.69 MB / 378.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (30): * Single equations (assignments): 24 * 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.001743/0.6456, allocations: 1.146 MB / 456.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.6472, allocations: 0.6991 MB / 457.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6473, allocations: 0 / 457.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.6478, allocations: 270.2 kB / 457.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.6484, allocations: 58.48 kB / 457.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.6509, allocations: 0.7447 MB / 458.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.6515, allocations: 0.8565 MB / 459.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.6518, allocations: 146.3 kB / 459.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6518, allocations: 0 / 459.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.029/3.68, allocations: 9.038 MB / 468.7 MB, free: 3.309 MB / 378.7 MB