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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.074e-05, allocations: 4 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09091, allocations: 50.42 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4543, allocations: 84.33 MB / 427.4 MB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.4545, allocations: 78.27 kB / 427.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04476/0.4993, allocations: 11.31 MB / 438.8 MB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.029e-06/0.4994, allocations: 0 / 438.8 MB, free: 292 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.433e-05/0.4994, allocations: 16 kB / 438.8 MB, free: 276 kB / 346.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.001595/0.501, allocations: 0.7908 MB / 439.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5011, allocations: 8.031 kB / 439.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.5013, allocations: 63.25 kB / 439.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5025, allocations: 396.3 kB / 440.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.5025, allocations: 30.53 kB / 440.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.5026, allocations: 47.05 kB / 440.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.5036, allocations: 414.8 kB / 440.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5036, allocations: 4 kB / 440.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.5037, allocations: 16.38 kB / 440.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5037, allocations: 11.95 kB / 440.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.5045, allocations: 287.5 kB / 440.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.508, allocations: 1.748 MB / 442.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.5089, allocations: 340.9 kB / 442.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.5093, allocations: 187.1 kB / 443.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.5093, allocations: 4 kB / 443.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.5099, allocations: 254.1 kB / 443.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 4.165e-06/0.5099, allocations: 0 / 443.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001331/0.5112, allocations: 456.4 kB / 443.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.5114, allocations: 187.9 kB / 444 MB, free: 11.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.5122, allocations: 454.9 kB / 444.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.5123, allocations: 29.58 kB / 444.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5125, allocations: 249.5 kB / 444.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.5127, allocations: 120.3 kB / 444.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.5127, allocations: 11.19 kB / 444.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.513, allocations: 359.5 kB / 445.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.5133, allocations: 109.9 kB / 445.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.5137, allocations: 209 kB / 445.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.514, allocations: 113.2 kB / 445.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.043e-06/0.5141, allocations: 3.938 kB / 445.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001093/0.5152, allocations: 458.5 kB / 446.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5152, allocations: 4 kB / 446.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5152, allocations: 15.98 kB / 446.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007107/0.5159, allocations: 159.6 kB / 446.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.5163, allocations: 47.28 kB / 446.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.5232, allocations: 5.935 MB / 452.2 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.5239, allocations: 62.75 kB / 452.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.524, allocations: 8 kB / 452.3 MB, free: 3.777 MB / 362.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.0001994/0.5242, allocations: 138.5 kB / 452.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5243, allocations: 55.34 kB / 452.5 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.5256, allocations: 496 kB / 453 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5257, allocations: 4 kB / 453 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5257, allocations: 0 / 453 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.398e-06/0.5257, allocations: 0 / 453 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.5265, allocations: 0.5006 MB / 453.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.671e-06/0.5266, allocations: 3.984 kB / 453.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.5268, allocations: 31.67 kB / 453.5 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006101/0.5274, allocations: 151.7 kB / 453.7 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.5275, allocations: 11.3 kB / 453.7 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006457/0.5339, allocations: 5.77 MB / 459.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-06/0.534, allocations: 0 / 459.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.5354, allocations: 0.4916 MB / 459.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.5357, allocations: 173.7 kB / 460.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/0.5359, allocations: 11.25 kB / 460.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.5363, allocations: 41.72 kB / 460.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.5365, allocations: 47.92 kB / 460.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.5366, allocations: 15.98 kB / 460.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006302/0.5372, allocations: 349.2 kB / 460.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.471e-06/0.5372, allocations: 0 / 460.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001109/0.5383, allocations: 191.6 kB / 460.7 MB, free: 11.5 MB / 378.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.00152/0.5399, allocations: 424.3 kB / 461.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.5414, allocations: 0.7571 MB / 461.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5414, allocations: 4 kB / 461.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.5423, allocations: 0.6082 MB / 462.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.5431, allocations: 109.9 kB / 462.6 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5454, allocations: 0.6884 MB / 463.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.5461, allocations: 0.8748 MB / 464.2 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.5464, allocations: 51.47 kB / 464.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5465, allocations: 35.42 kB / 464.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of SimCode: time 1.776e-06/0.5465, allocations: 0 / 464.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of Templates: time 0.02345/0.57, allocations: 8.556 MB / 472.8 MB, free: 15.45 MB / 394.7 MB