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.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.025e-05, allocations: 7.984 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3031, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004702/0.3079, allocations: 2.844 MB / 306.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3101, allocations: 0.8978 MB / 307.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.3104, allocations: 12 kB / 307.1 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3106, allocations: 51.53 kB / 307.1 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.3111, allocations: 163.5 kB / 307.3 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.3117, allocations: 151.8 kB / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.3123, allocations: 303.6 kB / 307.7 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.3126, allocations: 82.23 kB / 307.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.3129, allocations: 163.6 kB / 308 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.3133, allocations: 183.4 kB / 308.2 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.3135, allocations: 59.91 kB / 308.2 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.3136, allocations: 27.94 kB / 308.2 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3138, allocations: 75.67 kB / 308.3 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.3139, allocations: 48 kB / 308.4 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.3146, allocations: 410.8 kB / 308.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3146, allocations: 0 / 308.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3147, allocations: 0 / 308.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.3147, allocations: 0 / 308.8 MB, free: 8.148 MB / 250.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.3164, allocations: 0.7327 MB / 309.5 MB, free: 7.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3164, allocations: 8.031 kB / 309.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3166, allocations: 51.44 kB / 309.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.3172, allocations: 314.1 kB / 309.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.3172, allocations: 33 kB / 309.9 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.3173, allocations: 40 kB / 309.9 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3185, allocations: 412.7 kB / 310.3 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3185, allocations: 0 / 310.3 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.3186, allocations: 20 kB / 310.4 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3186, allocations: 8 kB / 310.4 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.3196, allocations: 311.8 kB / 310.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.3233, allocations: 1.64 MB / 312.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.3243, allocations: 334.9 kB / 312.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.3243, allocations: 4.281 kB / 312.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/0.325, allocations: 281.5 kB / 312.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 3.346e-06/0.325, allocations: 0 / 312.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.00353/0.3286, allocations: 1.116 MB / 314 MB, free: 2.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.3288, allocations: 217.6 kB / 314.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.3293, allocations: 284.9 kB / 314.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.3293, allocations: 33.7 kB / 314.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3296, allocations: 220.4 kB / 314.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3297, allocations: 114.3 kB / 314.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3298, allocations: 8 kB / 314.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3299, allocations: 350.8 kB / 315.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.3304, allocations: 116.8 kB / 315.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.3309, allocations: 186.7 kB / 315.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3313, allocations: 184.1 kB / 315.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3313, allocations: 0 / 315.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001393/0.3327, allocations: 0.5056 MB / 316.2 MB, free: 176 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.3328, allocations: 67.42 kB / 316.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3328, allocations: 0 / 316.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008583/0.3337, allocations: 155.3 kB / 316.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.3341, allocations: 35.92 kB / 316.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007298/0.3414, allocations: 6.002 MB / 322.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.3421, allocations: 55.7 kB / 322.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.3422, allocations: 8 kB / 322.5 MB, free: 9.285 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 25 * 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.0003645/0.3426, allocations: 218.6 kB / 322.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3427, allocations: 43.52 kB / 322.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.3429, allocations: 48.06 kB / 322.8 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3429, allocations: 4 kB / 322.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3429, allocations: 0 / 322.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3429, allocations: 0 / 322.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.3437, allocations: 441.1 kB / 323.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3437, allocations: 3.938 kB / 323.3 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3439, allocations: 31.98 kB / 323.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.3447, allocations: 151.3 kB / 323.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.3448, allocations: 12.06 kB / 323.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00702/0.3518, allocations: 5.832 MB / 329.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3519, allocations: 8.109 kB / 329.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.3536, allocations: 0.5291 MB / 329.8 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.3539, allocations: 148.5 kB / 330 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.354, allocations: 16 kB / 330 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.3545, allocations: 35.94 kB / 330 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.3548, allocations: 55.84 kB / 330.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.3548, allocations: 12 kB / 330.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003739/0.3552, allocations: 231.2 kB / 330.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3552, allocations: 0 / 330.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001041/0.3563, allocations: 159.8 kB / 330.5 MB, free: 0.6797 MB / 266.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.0003252/0.3566, allocations: 143.2 kB / 330.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.3585, allocations: 0.9116 MB / 331.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3586, allocations: 0 / 331.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.3598, allocations: 0.7212 MB / 332.2 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.3604, allocations: 73.33 kB / 332.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3631, allocations: 0.9425 MB / 333.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.3637, allocations: 0.8278 MB / 334.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.364, allocations: 31.28 kB / 334.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3641, allocations: 19.44 kB / 334.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3641, allocations: 0 / 334.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of Templates: time 0.0215/0.3856, allocations: 7.061 MB / 341.2 MB, free: 5.785 MB / 282.7 MB