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.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.099e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.08329, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4192, allocations: 82.16 MB / 399.1 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4194, allocations: 79.36 kB / 399.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.4646, allocations: 11.01 MB / 410.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.4646, allocations: 0 / 410.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.323e-05/0.4647, allocations: 12 kB / 410.2 MB, free: 12.6 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001646/0.4663, allocations: 0.7971 MB / 411 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4664, allocations: 12.03 kB / 411 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.4666, allocations: 63.25 kB / 411.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.4675, allocations: 399.7 kB / 411.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.4675, allocations: 27.91 kB / 411.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.4676, allocations: 43.77 kB / 411.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.4686, allocations: 412.8 kB / 411.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4686, allocations: 0 / 411.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.4687, allocations: 16.38 kB / 411.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4687, allocations: 15.94 kB / 412 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.4694, allocations: 283.8 kB / 412.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.473, allocations: 1.748 MB / 414 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.4739, allocations: 345.7 kB / 414.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.4743, allocations: 176.9 kB / 414.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.4743, allocations: 11.55 kB / 414.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005378/0.4749, allocations: 248.7 kB / 414.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.601e-06/0.4749, allocations: 0 / 414.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001343/0.4762, allocations: 459 kB / 415.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.4764, allocations: 187.9 kB / 415.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/0.4772, allocations: 443.8 kB / 415.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/0.4773, allocations: 36.58 kB / 415.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.4776, allocations: 251.5 kB / 416.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.4777, allocations: 126.7 kB / 416.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.4778, allocations: 11.25 kB / 416.2 MB, free: 7.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.478, allocations: 359.5 kB / 416.6 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.4783, allocations: 110.9 kB / 416.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.4788, allocations: 202.3 kB / 416.9 MB, free: 6.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.4791, allocations: 116.1 kB / 417 MB, free: 6.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.961e-06/0.4791, allocations: 3.953 kB / 417 MB, free: 6.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001153/0.4803, allocations: 460.8 kB / 417.4 MB, free: 6.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4803, allocations: 4.094 kB / 417.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.809e-06/0.4804, allocations: 4 kB / 417.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007369/0.4811, allocations: 157.8 kB / 417.6 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.4815, allocations: 45.92 kB / 417.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.4885, allocations: 5.933 MB / 423.6 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.4892, allocations: 58.5 kB / 423.6 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.4893, allocations: 11.38 kB / 423.7 MB, free: 116 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * 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: 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.0002263/0.4895, allocations: 144.1 kB / 423.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4897, allocations: 55.28 kB / 423.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.4911, allocations: 493 kB / 424.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4911, allocations: 7.953 kB / 424.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4911, allocations: 4.188 kB / 424.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.846e-06/0.4912, allocations: 4.078 kB / 424.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.4921, allocations: 0.5009 MB / 424.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-06/0.4921, allocations: 0 / 424.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.4924, allocations: 35.11 kB / 424.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006456/0.493, allocations: 147.1 kB / 425 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.4931, allocations: 7.875 kB / 425 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/0.4999, allocations: 5.778 MB / 430.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.293e-06/0.5, allocations: 0 / 430.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.5014, allocations: 0.4935 MB / 431.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.5018, allocations: 166.9 kB / 431.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5019, allocations: 10.62 kB / 431.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.5024, allocations: 37.73 kB / 431.5 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.5026, allocations: 65.66 kB / 431.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.5026, allocations: 11.25 kB / 431.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006138/0.5033, allocations: 347.6 kB / 431.9 MB, free: 8.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.326e-06/0.5033, allocations: 0 / 431.9 MB, free: 8.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001222/0.5045, allocations: 182 kB / 432.1 MB, free: 7.938 MB / 346.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,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001581/0.5061, allocations: 430.1 kB / 432.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.5077, allocations: 0.7507 MB / 433.3 MB, free: 6.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.759e-06/0.5078, allocations: 7.312 kB / 433.3 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.5087, allocations: 0.6131 MB / 433.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.5095, allocations: 104.5 kB / 434 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.5119, allocations: 0.7034 MB / 434.7 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/0.5126, allocations: 0.8778 MB / 435.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.5129, allocations: 51.44 kB / 435.6 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5131, allocations: 35.12 kB / 435.7 MB, free: 4.625 MB / 346.7 MB Notification: Performance of SimCode: time 1.782e-06/0.5131, allocations: 0 / 435.7 MB, free: 4.625 MB / 346.7 MB Notification: Performance of Templates: time 0.02443/0.5375, allocations: 8.544 MB / 444.2 MB, free: 12.11 MB / 362.7 MB