Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.925e-05, allocations: 7.984 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08199, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4212, allocations: 91.31 MB / 408.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4215, allocations: 71.34 kB / 408.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1735/0.595, allocations: 57.31 MB / 465.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.666e-06/0.5951, allocations: 0 / 465.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.253e-05/0.5952, allocations: 28 kB / 465.7 MB, free: 10.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003617/0.5988, allocations: 1.732 MB / 467.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5988, allocations: 12.03 kB / 467.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.5993, allocations: 225.3 kB / 467.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.602, allocations: 1.255 MB / 468.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.6021, allocations: 41.31 kB / 468.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.6022, allocations: 52 kB / 469 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.6038, allocations: 0.6212 MB / 469.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.6038, allocations: 4 kB / 469.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.6039, allocations: 28 kB / 469.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.6039, allocations: 19.94 kB / 469.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6051, allocations: 458.6 kB / 470.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005332/0.6105, allocations: 2.598 MB / 472.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6115, allocations: 0.517 MB / 473.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.6125, allocations: 0.4912 MB / 473.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/0.6264, allocations: 8.763 MB / 482.5 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.6272, allocations: 321.2 kB / 482.8 MB, free: 8.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 4.177e-06/0.6272, allocations: 0 / 482.8 MB, free: 8.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.002161/0.6294, allocations: 0.8797 MB / 483.6 MB, free: 7.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.6295, allocations: 89.55 kB / 483.7 MB, free: 7.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.6319, allocations: 1.246 MB / 485 MB, free: 5.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/0.632, allocations: 37.7 kB / 485 MB, free: 5.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009537/0.633, allocations: 0.8055 MB / 485.8 MB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.6333, allocations: 224.2 kB / 486 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.6334, allocations: 16 kB / 486.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6336, allocations: 334 kB / 486.4 MB, free: 4.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.6341, allocations: 193.8 kB / 486.6 MB, free: 4.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.6348, allocations: 399.9 kB / 487 MB, free: 3.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.6355, allocations: 253.7 kB / 487.2 MB, free: 3.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.734e-06/0.6355, allocations: 4 kB / 487.2 MB, free: 3.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002364/0.6379, allocations: 0.9981 MB / 488.2 MB, free: 2.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.6379, allocations: 8 kB / 488.2 MB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.6381, allocations: 80.03 kB / 488.3 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.6398, allocations: 0.6913 MB / 489 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.6405, allocations: 123.8 kB / 489.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.6424, allocations: 1.112 MB / 490.2 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6435, allocations: 99.39 kB / 490.3 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6436, allocations: 36 kB / 490.4 MB, free: 232 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.6438, allocations: 144.8 kB / 490.5 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.6442, allocations: 201.6 kB / 490.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.6472, allocations: 1.033 MB / 491.7 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.6472, allocations: 8 kB / 491.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-06/0.6472, allocations: 0 / 491.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-06/0.6473, allocations: 0 / 491.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.6491, allocations: 1.007 MB / 492.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001327/0.6493, allocations: 67.98 kB / 492.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.6498, allocations: 67.94 kB / 492.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.6514, allocations: 0.6782 MB / 493.6 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.272e-05/0.6515, allocations: 19.94 kB / 493.6 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.6534, allocations: 1.084 MB / 494.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-06/0.6534, allocations: 0 / 494.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.6563, allocations: 1.218 MB / 495.9 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.657, allocations: 294.6 kB / 496.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.6573, allocations: 12 kB / 496.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.658, allocations: 51.95 kB / 496.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.6582, allocations: 52.41 kB / 496.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.6582, allocations: 23.98 kB / 496.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001933/0.6602, allocations: 0.9616 MB / 497.3 MB, free: 9.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.75e-07/0.6602, allocations: 0 / 497.3 MB, free: 9.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001552/0.6618, allocations: 491.1 kB / 497.7 MB, free: 8.664 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.6631, allocations: 0.5562 MB / 498.3 MB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.6652, allocations: 0.7282 MB / 499 MB, free: 7.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.983e-06/0.6652, allocations: 0 / 499 MB, free: 7.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.6665, allocations: 477.4 kB / 499.5 MB, free: 6.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6676, allocations: 182.9 kB / 499.7 MB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.6735, allocations: 2.339 MB / 0.4902 GB, free: 4.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.6746, allocations: 1.255 MB / 0.4915 GB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000822/0.6755, allocations: 175.2 kB / 0.4916 GB, free: 2.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.6757, allocations: 83.44 kB / 0.4917 GB, free: 2.773 MB / 410.7 MB Notification: Performance of SimCode: time 1.8e-06/0.6757, allocations: 0 / 0.4917 GB, free: 2.773 MB / 410.7 MB Notification: Performance of Templates: time 0.04708/0.7228, allocations: 17.25 MB / 0.5086 GB, free: 1.527 MB / 426.7 MB