Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.114e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09898, allocations: 50.41 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5206, allocations: 81.12 MB / 424.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5209, allocations: 70.22 kB / 424.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02059/0.5415, allocations: 4.893 MB / 429.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.5415, allocations: 0 / 429.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.5416, allocations: 4 kB / 429.2 MB, free: 8.824 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001395/0.543, allocations: 0.6073 MB / 429.8 MB, free: 8.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.543, allocations: 8.031 kB / 429.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.5431, allocations: 27.72 kB / 429.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.5436, allocations: 265 kB / 430.1 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.5436, allocations: 15.31 kB / 430.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.5437, allocations: 22.3 kB / 430.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.5443, allocations: 241 kB / 430.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.5443, allocations: 7.891 kB / 430.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.5444, allocations: 10.75 kB / 430.4 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-06/0.5444, allocations: 4 kB / 430.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.5449, allocations: 167 kB / 430.5 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.5474, allocations: 1.014 MB / 431.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.5505, allocations: 486.2 kB / 432 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.551, allocations: 157.9 kB / 432.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.5511, allocations: 7.984 kB / 432.2 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.5515, allocations: 173.3 kB / 432.3 MB, free: 5.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.191e-06/0.5515, allocations: 0 / 432.3 MB, free: 5.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006197/0.5521, allocations: 217.5 kB / 432.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.5522, allocations: 110.1 kB / 432.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.5525, allocations: 202.8 kB / 432.9 MB, free: 5.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.5526, allocations: 25.7 kB / 432.9 MB, free: 5.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.5527, allocations: 168.4 kB / 433 MB, free: 5.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.5529, allocations: 66.73 kB / 433.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.5529, allocations: 7.969 kB / 433.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5531, allocations: 340 kB / 433.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5533, allocations: 78.27 kB / 433.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.5536, allocations: 114.1 kB / 433.6 MB, free: 4.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.5539, allocations: 100.2 kB / 433.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-06/0.5539, allocations: 4.031 kB / 433.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000682/0.5546, allocations: 283.1 kB / 434 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.5546, allocations: 33.7 kB / 434.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5547, allocations: 0 / 434.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5547, allocations: 0 / 434.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.5574, allocations: 339.2 kB / 434.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005521/0.563, allocations: 3.053 MB / 437.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.5636, allocations: 67.97 kB / 437.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.5636, allocations: 7 kB / 437.5 MB, free: 0.8867 MB / 346.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: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.5638, allocations: 116.3 kB / 437.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.5639, allocations: 23.72 kB / 437.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.564, allocations: 34.77 kB / 437.7 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-06/0.564, allocations: 4 kB / 437.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.189e-06/0.564, allocations: 7.953 kB / 437.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.888e-06/0.564, allocations: 3.984 kB / 437.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.5657, allocations: 0.784 MB / 438.5 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.422e-06/0.5658, allocations: 4 kB / 438.5 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/0.5684, allocations: 327.7 kB / 438.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.5685, allocations: 4 kB / 438.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.5685, allocations: 7.203 kB / 438.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.5739, allocations: 3.042 MB / 441.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.812e-06/0.5739, allocations: 4 kB / 441.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/0.5749, allocations: 462.4 kB / 442.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.5751, allocations: 104.5 kB / 442.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.5751, allocations: 7.562 kB / 442.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.5757, allocations: 55.27 kB / 442.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5758, allocations: 31.78 kB / 442.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.5759, allocations: 4 kB / 442.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.5761, allocations: 169.9 kB / 442.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.5761, allocations: 4 kB / 442.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000712/0.5768, allocations: 90.47 kB / 442.8 MB, free: 11.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/0.5771, allocations: 115 kB / 442.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.5798, allocations: 482.7 kB / 443.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.384e-06/0.5798, allocations: 0 / 443.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.5822, allocations: 338.6 kB / 443.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.5827, allocations: 38 kB / 443.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.5844, allocations: 488.4 kB / 444.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.5849, allocations: 0.7599 MB / 445 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000215/0.5851, allocations: 26.08 kB / 445 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.5853, allocations: 19.44 kB / 445 MB, free: 9.531 MB / 362.7 MB Notification: Performance of SimCode: time 1.707e-06/0.5853, allocations: 0 / 445 MB, free: 9.531 MB / 362.7 MB Notification: Performance of Templates: time 0.009939/0.5952, allocations: 3.212 MB / 448.2 MB, free: 6.348 MB / 362.7 MB