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.809/1.809, allocations: 194.9 MB / 208 MB, free: 3.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.86e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07843, allocations: 44.49 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4513, allocations: 74.74 MB / 374.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4515, allocations: 71.17 kB / 374.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.026/0.4775, allocations: 6.958 MB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.061e-06/0.4776, allocations: 0 / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.4776, allocations: 15.38 kB / 381.7 MB, free: 21.22 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00118/0.4788, allocations: 0.7162 MB / 382.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4789, allocations: 10.31 kB / 382.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.479, allocations: 50.75 kB / 382.4 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.4795, allocations: 319.8 kB / 382.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.4796, allocations: 32.28 kB / 382.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.4797, allocations: 37.47 kB / 382.8 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.4806, allocations: 394.5 kB / 383.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4806, allocations: 5.312 kB / 383.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.4807, allocations: 22.38 kB / 383.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.4807, allocations: 17.55 kB / 383.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.4814, allocations: 272.7 kB / 383.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.4844, allocations: 1.648 MB / 385.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.4851, allocations: 321.8 kB / 385.5 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.4855, allocations: 179.4 kB / 385.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.4855, allocations: 3.438 kB / 385.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.486, allocations: 276 kB / 385.9 MB, free: 19.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.609e-06/0.4861, allocations: 0 / 385.9 MB, free: 19.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.00125/0.4873, allocations: 492 kB / 386.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.4874, allocations: 213.6 kB / 386.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4878, allocations: 283.4 kB / 386.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.4879, allocations: 33.11 kB / 386.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.488, allocations: 217.8 kB / 387.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.4882, allocations: 110.8 kB / 387.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.4882, allocations: 8.625 kB / 387.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.4883, allocations: 354 kB / 387.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.4886, allocations: 109.5 kB / 387.7 MB, free: 18.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.489, allocations: 177 kB / 387.9 MB, free: 18.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.4893, allocations: 171 kB / 388 MB, free: 18.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-06/0.4893, allocations: 3.938 kB / 388 MB, free: 18.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001041/0.4904, allocations: 0.4944 MB / 388.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4904, allocations: 67.52 kB / 388.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.731e-06/0.4905, allocations: 1.438 kB / 388.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/0.4912, allocations: 156.1 kB / 388.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.4914, allocations: 33.83 kB / 388.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/0.4973, allocations: 5.941 MB / 394.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.4979, allocations: 60.59 kB / 394.8 MB, free: 28.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.4979, allocations: 14.97 kB / 394.8 MB, free: 28.42 MB / 330.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,IdealGTOThyristor2.fire,$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.0002128/0.4982, allocations: 162 kB / 395 MB, free: 28.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.4983, allocations: 43.03 kB / 395 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.4984, allocations: 51.03 kB / 395.1 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-06/0.4984, allocations: 3.844 kB / 395.1 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4984, allocations: 3.953 kB / 395.1 MB, free: 28.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-06/0.4984, allocations: 4 kB / 395.1 MB, free: 28.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.499, allocations: 437.4 kB / 395.5 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.499, allocations: 0 / 395.5 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4992, allocations: 26.41 kB / 395.5 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/0.4998, allocations: 149.8 kB / 395.7 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.4998, allocations: 14.67 kB / 395.7 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.5056, allocations: 5.782 MB / 401.5 MB, free: 22.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5057, allocations: 3.938 kB / 401.5 MB, free: 22.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.5069, allocations: 0.5286 MB / 402 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.5071, allocations: 143.8 kB / 402.1 MB, free: 22.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.5072, allocations: 14.84 kB / 402.2 MB, free: 22.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.5076, allocations: 41.09 kB / 402.2 MB, free: 22.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.5078, allocations: 55.23 kB / 402.2 MB, free: 22.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.5078, allocations: 11.69 kB / 402.3 MB, free: 22.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003114/0.5081, allocations: 224.1 kB / 402.5 MB, free: 22.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.5082, allocations: 0 / 402.5 MB, free: 22.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009732/0.5091, allocations: 167.2 kB / 402.6 MB, free: 22.35 MB / 330.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,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,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.0002473/0.5094, allocations: 136 kB / 402.8 MB, free: 22.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.5107, allocations: 0.8508 MB / 403.6 MB, free: 21.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.369e-06/0.5107, allocations: 0 / 403.6 MB, free: 21.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.5115, allocations: 0.684 MB / 404.3 MB, free: 21.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.5121, allocations: 74.22 kB / 404.4 MB, free: 21.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.5136, allocations: 0.5598 MB / 404.9 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.5141, allocations: 0.8323 MB / 405.8 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.5143, allocations: 30.05 kB / 405.8 MB, free: 20.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.5144, allocations: 27.09 kB / 405.8 MB, free: 20.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.792e-06/0.5144, allocations: 0 / 405.8 MB, free: 20.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01677/0.5312, allocations: 7.017 MB / 412.8 MB, free: 19.75 MB / 330.7 MB