Running command: translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.777e-05, allocations: 12 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4558, allocations: 79.59 MB / 396.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.456, allocations: 73.64 kB / 396.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04005/0.4961, allocations: 10.2 MB / 406.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.387e-06/0.4962, allocations: 0.6562 kB / 406.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.58e-05/0.4962, allocations: 12 kB / 406.8 MB, free: 15.77 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00295/0.4992, allocations: 1.07 MB / 407.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4992, allocations: 8.031 kB / 407.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.4995, allocations: 75.16 kB / 408 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.5003, allocations: 426.8 kB / 408.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.5004, allocations: 42.19 kB / 408.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5005, allocations: 51.38 kB / 408.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.5021, allocations: 0.7267 MB / 409.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.5022, allocations: 0 / 409.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/0.5023, allocations: 22.94 kB / 409.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.5023, allocations: 16 kB / 409.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.5039, allocations: 0.5868 MB / 409.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/0.5102, allocations: 3.171 MB / 413 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.5118, allocations: 0.6726 MB / 413.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.5126, allocations: 307.5 kB / 414 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.5127, allocations: 20.41 kB / 414 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000763/0.5134, allocations: 324.9 kB / 414.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 4.841e-06/0.5135, allocations: 0 / 414.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001394/0.5149, allocations: 0.5003 MB / 414.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.5151, allocations: 268.7 kB / 415.1 MB, free: 8.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000733/0.5158, allocations: 434.1 kB / 415.5 MB, free: 8.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.5159, allocations: 42 kB / 415.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.5162, allocations: 340.3 kB / 415.9 MB, free: 8.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.5165, allocations: 167.6 kB / 416 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.5165, allocations: 15.06 kB / 416 MB, free: 8.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.5168, allocations: 368.5 kB / 416.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.5174, allocations: 248.6 kB / 416.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.5183, allocations: 0.4973 MB / 417.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.5191, allocations: 325.8 kB / 417.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.544e-06/0.5191, allocations: 8 kB / 417.5 MB, free: 7 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001988/0.5211, allocations: 0.8163 MB / 418.3 MB, free: 6.383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.5212, allocations: 59.41 kB / 418.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.5212, allocations: 8 kB / 418.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.5212, allocations: 12 kB / 418.4 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5227, allocations: 247.6 kB / 418.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.5228, allocations: 19.89 kB / 418.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5241, allocations: 220.3 kB / 418.8 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5243, allocations: 31.94 kB / 418.9 MB, free: 5.809 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T_start,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.count,VIN1.signalSource.count,$PRE.VIN2.signalSource.T_start,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.count,VIN2.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.5245, allocations: 155.3 kB / 419 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.5247, allocations: 55.34 kB / 419.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.5249, allocations: 64 kB / 419.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-06/0.5249, allocations: 8 kB / 419.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.644e-06/0.5249, allocations: 0 / 419.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.525, allocations: 7.938 kB / 419.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.5278, allocations: 1.382 MB / 420.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.5279, allocations: 3.953 kB / 420.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.529, allocations: 181.9 kB / 420.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.529, allocations: 4 kB / 420.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.5291, allocations: 14.92 kB / 420.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.428e-06/0.5291, allocations: 0 / 420.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-06/0.5291, allocations: 0 / 420.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.5312, allocations: 0.8932 MB / 421.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.5315, allocations: 151.1 kB / 421.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.5316, allocations: 15.06 kB / 421.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5326, allocations: 142 kB / 421.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.5328, allocations: 53.92 kB / 422 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.5329, allocations: 15.48 kB / 422 MB, free: 3.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005493/0.5335, allocations: 326.4 kB / 422.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.5335, allocations: 0 / 422.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008406/0.5343, allocations: 171.5 kB / 422.5 MB, free: 3.023 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.5346, allocations: 125.3 kB / 422.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.5362, allocations: 0.7012 MB / 423.3 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.97e-06/0.5362, allocations: 4 kB / 423.3 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.5368, allocations: 273 kB / 423.6 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.5375, allocations: 85.53 kB / 423.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.5398, allocations: 0.8489 MB / 424.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.5404, allocations: 0.8748 MB / 425.4 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000656/0.5411, allocations: 72.66 kB / 425.5 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.5414, allocations: 59.23 kB / 425.5 MB, free: 412 kB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5414, allocations: 0 / 425.5 MB, free: 412 kB / 330.7 MB Notification: Performance of Templates: time 0.02004/0.5615, allocations: 7.11 MB / 432.6 MB, free: 9.332 MB / 346.7 MB