Running command: translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.849e-05, allocations: 4 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09228, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.484, allocations: 104.3 MB / 446.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4842, allocations: 75.64 kB / 447 MB, free: 6.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6591/1.143, allocations: 138.4 MB / 0.5716 GB, free: 102.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.24e-06/1.143, allocations: 0 / 0.5716 GB, free: 102.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.281e-05/1.143, allocations: 39.28 kB / 0.5717 GB, free: 102.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004197/1.148, allocations: 2.567 MB / 0.5742 GB, free: 100.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.148, allocations: 10.03 kB / 0.5742 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/1.148, allocations: 385.3 kB / 0.5746 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/1.153, allocations: 2.212 MB / 0.5767 GB, free: 99.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/1.153, allocations: 31.75 kB / 0.5767 GB, free: 99.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/1.153, allocations: 59.78 kB / 0.5768 GB, free: 99.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.154, allocations: 0.7536 MB / 0.5775 GB, free: 98.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.154, allocations: 0 / 0.5775 GB, free: 98.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/1.154, allocations: 23.16 kB / 0.5776 GB, free: 98.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/1.154, allocations: 22.89 kB / 0.5776 GB, free: 98.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/1.156, allocations: 0.6707 MB / 0.5782 GB, free: 98.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006633/1.162, allocations: 2.933 MB / 0.5811 GB, free: 97.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/1.163, allocations: 0.5797 MB / 0.5817 GB, free: 96.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009177/1.164, allocations: 0.6083 MB / 0.5823 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03581/1.2, allocations: 35.96 MB / 0.6174 GB, free: 66.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/1.201, allocations: 322 kB / 0.6177 GB, free: 65.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 4.364e-06/1.201, allocations: 0 / 0.6177 GB, free: 65.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001823/1.203, allocations: 0.8765 MB / 0.6185 GB, free: 65.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/1.203, allocations: 273 kB / 0.6188 GB, free: 64.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/1.206, allocations: 2.297 MB / 0.621 GB, free: 62.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.206, allocations: 41.7 kB / 0.6211 GB, free: 62.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/1.207, allocations: 1.141 MB / 0.6222 GB, free: 61.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/1.208, allocations: 165 kB / 0.6224 GB, free: 61.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/1.208, allocations: 16 kB / 0.6224 GB, free: 61.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/1.208, allocations: 338.8 kB / 0.6227 GB, free: 60.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/1.208, allocations: 186 kB / 0.6229 GB, free: 60.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/1.209, allocations: 0.5782 MB / 0.6234 GB, free: 59.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/1.209, allocations: 273 kB / 0.6237 GB, free: 59.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.209, allocations: 4 kB / 0.6237 GB, free: 59.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001745/1.211, allocations: 0.8492 MB / 0.6245 GB, free: 58.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.211, allocations: 16 kB / 0.6245 GB, free: 58.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.211, allocations: 83.98 kB / 0.6246 GB, free: 58.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007079/1.212, allocations: 268.8 kB / 0.6249 GB, free: 58.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/1.213, allocations: 183.7 kB / 0.6251 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.214, allocations: 0.8813 MB / 0.6259 GB, free: 57.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.215, allocations: 119 kB / 0.626 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.216, allocations: 67.98 kB / 0.6261 GB, free: 57.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin1.counter,vin1.counter,$PRE.vin2.counter,vin2.counter,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/1.216, allocations: 164.7 kB / 0.6262 GB, free: 56.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/1.216, allocations: 363.7 kB / 0.6266 GB, free: 56.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/1.22, allocations: 1.224 MB / 0.6278 GB, free: 55.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.22, allocations: 4 kB / 0.6278 GB, free: 55.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-06/1.22, allocations: 0 / 0.6278 GB, free: 55.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-06/1.22, allocations: 0 / 0.6278 GB, free: 55.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/1.224, allocations: 2.119 MB / 0.6299 GB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000108/1.225, allocations: 71.31 kB / 0.6299 GB, free: 53.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/1.225, allocations: 80 kB / 0.63 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/1.226, allocations: 254.8 kB / 0.6303 GB, free: 52.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/1.226, allocations: 31.98 kB / 0.6303 GB, free: 52.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009841/1.227, allocations: 0.8568 MB / 0.6311 GB, free: 51.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.432e-06/1.227, allocations: 4.062 kB / 0.6311 GB, free: 51.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.228, allocations: 1.138 MB / 0.6322 GB, free: 50.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.23, allocations: 472.4 kB / 0.6327 GB, free: 50.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004653/1.23, allocations: 16 kB / 0.6327 GB, free: 50.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.231, allocations: 51.91 kB / 0.6327 GB, free: 50.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/1.231, allocations: 59.94 kB / 0.6328 GB, free: 49.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/1.231, allocations: 39.98 kB / 0.6328 GB, free: 49.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003184/1.235, allocations: 1.752 MB / 0.6346 GB, free: 48.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.07e-07/1.235, allocations: 4 kB / 0.6346 GB, free: 48.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002109/1.237, allocations: 0.6128 MB / 0.6352 GB, free: 47.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * 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 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/1.238, allocations: 0.8526 MB / 0.636 GB, free: 46.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/1.24, allocations: 0.722 MB / 0.6367 GB, free: 46.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.97e-06/1.24, allocations: 4.312 kB / 0.6367 GB, free: 46.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007791/1.24, allocations: 443.6 kB / 0.6371 GB, free: 45.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/1.244, allocations: 0.5615 MB / 0.6377 GB, free: 45.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/1.249, allocations: 2.809 MB / 0.6404 GB, free: 42.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.251, allocations: 1.658 MB / 0.642 GB, free: 40.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.251, allocations: 143.4 kB / 0.6422 GB, free: 40.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.74e-06/1.251, allocations: 7.938 kB / 0.6422 GB, free: 40.39 MB / 442.7 MB Notification: Performance of Templates: time 0.06054/1.311, allocations: 44.05 MB / 0.6852 GB, free: 12.52 MB / 458.7 MB