Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.968e-05, allocations: 7.984 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08231/0.08237, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004955/0.08737, allocations: 2.833 MB / 269.7 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.08984, allocations: 0.8769 MB / 270.6 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.09016, allocations: 11.94 kB / 270.6 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.09033, allocations: 59.58 kB / 270.7 MB, free: 12.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.09086, allocations: 159.5 kB / 270.8 MB, free: 12.51 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.09156, allocations: 151.7 kB / 271 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.09221, allocations: 307.7 kB / 271.3 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.09245, allocations: 86.23 kB / 271.4 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.09276, allocations: 159.6 kB / 271.5 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.09311, allocations: 187.3 kB / 271.7 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.09336, allocations: 55.95 kB / 271.8 MB, free: 11.58 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.09346, allocations: 24 kB / 271.8 MB, free: 11.56 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.09359, allocations: 75.67 kB / 271.9 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.09375, allocations: 48 kB / 271.9 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.09438, allocations: 407.1 kB / 272.3 MB, free: 11.04 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.0944, allocations: 0 / 272.3 MB, free: 11.04 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.09441, allocations: 0 / 272.3 MB, free: 11.04 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.09445, allocations: 8 kB / 272.3 MB, free: 11.03 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001681/0.09614, allocations: 0.7172 MB / 273 MB, free: 10.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.0962, allocations: 8.031 kB / 273.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.09638, allocations: 63.33 kB / 273.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.09696, allocations: 319.8 kB / 273.4 MB, free: 9.836 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.09703, allocations: 32.95 kB / 273.5 MB, free: 9.801 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.09713, allocations: 39.94 kB / 273.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.09823, allocations: 416.7 kB / 273.9 MB, free: 9.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.09827, allocations: 4 kB / 273.9 MB, free: 9.332 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.09835, allocations: 16 kB / 273.9 MB, free: 9.316 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.09838, allocations: 8 kB / 273.9 MB, free: 9.309 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.09939, allocations: 311.8 kB / 274.2 MB, free: 9 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.103, allocations: 1.633 MB / 275.9 MB, free: 7.266 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.1039, allocations: 318.2 kB / 276.2 MB, free: 6.949 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.104, allocations: 20.25 kB / 276.2 MB, free: 6.93 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000672/0.1047, allocations: 273.3 kB / 276.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of pre-optimization done (n=38): time 2.946e-06/0.1047, allocations: 0 / 276.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of matching and sorting (n=38): time 0.003558/0.1083, allocations: 1.129 MB / 277.6 MB, free: 5.383 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.1085, allocations: 221.6 kB / 277.8 MB, free: 5.117 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.109, allocations: 288.8 kB / 278.1 MB, free: 4.828 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.1091, allocations: 33.7 kB / 278.1 MB, free: 4.789 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1093, allocations: 216.3 kB / 278.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1094, allocations: 122.3 kB / 278.5 MB, free: 4.449 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1095, allocations: 8 kB / 278.5 MB, free: 4.441 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1097, allocations: 346.8 kB / 278.8 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.1101, allocations: 124.8 kB / 278.9 MB, free: 3.973 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.1106, allocations: 214.1 kB / 279.1 MB, free: 3.727 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.1111, allocations: 184.1 kB / 279.3 MB, free: 3.535 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1111, allocations: 0 / 279.3 MB, free: 3.535 MB / 234.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001453/0.1126, allocations: 0.5406 MB / 279.9 MB, free: 2.965 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.1127, allocations: 63.41 kB / 279.9 MB, free: 2.891 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1127, allocations: 0 / 279.9 MB, free: 2.891 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/0.1135, allocations: 159.5 kB / 280.1 MB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.1139, allocations: 55.83 kB / 280.1 MB, free: 2.668 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007268/0.1212, allocations: 5.998 MB / 286.1 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.1219, allocations: 59.72 kB / 286.2 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.122, allocations: 16 kB / 286.2 MB, free: 12.06 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003505/0.1223, allocations: 195.8 kB / 286.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1225, allocations: 51.47 kB / 286.4 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1226, allocations: 48.06 kB / 286.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.1226, allocations: 4.188 kB / 286.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1226, allocations: 8 kB / 286.5 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1226, allocations: 0 / 286.5 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.1234, allocations: 441.2 kB / 286.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1234, allocations: 0 / 286.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.1237, allocations: 23.92 kB / 287 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000734/0.1244, allocations: 155.3 kB / 287.1 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.1245, allocations: 15.89 kB / 287.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/0.1316, allocations: 5.828 MB / 292.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1317, allocations: 0 / 292.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.1333, allocations: 0.5287 MB / 293.5 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.1336, allocations: 144.5 kB / 293.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.1337, allocations: 8 kB / 293.6 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.1342, allocations: 43.97 kB / 293.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.1345, allocations: 55.72 kB / 293.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.1345, allocations: 12 kB / 293.7 MB, free: 3.855 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004/0.1349, allocations: 235.1 kB / 294 MB, free: 3.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1349, allocations: 0 / 294 MB, free: 3.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001044/0.136, allocations: 163.8 kB / 294.1 MB, free: 3.469 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 6 (booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor1.off,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003406/0.1363, allocations: 139.4 kB / 294.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.1383, allocations: 0.9276 MB / 295.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1384, allocations: 0 / 295.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.1396, allocations: 0.7167 MB / 295.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.1403, allocations: 69.52 kB / 296 MB, free: 1.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1422, allocations: 0.884 MB / 296.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2033/0.3456, allocations: 0.8267 MB / 297.7 MB, free: 28.92 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.3459, allocations: 30.61 kB / 297.7 MB, free: 28.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.346, allocations: 25 kB / 297.7 MB, free: 28.91 MB / 250.7 MB Notification: Performance of SimCode: time 1.232e-06/0.346, allocations: 0 / 297.7 MB, free: 28.91 MB / 250.7 MB Notification: Performance of Templates: time 0.0218/0.3679, allocations: 6.864 MB / 304.6 MB, free: 27.51 MB / 250.7 MB