Running command: translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.983e-05, allocations: 4 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2891, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01429/0.3034, allocations: 10.39 MB / 313.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.3299, allocations: 15.84 MB / 329.5 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.332, allocations: 31.81 kB / 329.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.3349, allocations: 0.7146 MB / 330.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007175/0.3422, allocations: 1.756 MB / 332 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.3462, allocations: 0.9732 MB / 333 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01402/0.3603, allocations: 5.483 MB / 338.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.3608, allocations: 122.1 kB / 338.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.362, allocations: 0.662 MB / 339.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.3634, allocations: 0.8282 MB / 340.1 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004976/0.3684, allocations: 1.206 MB / 341.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005366/0.369, allocations: 75.94 kB / 341.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.3694, allocations: 254.1 kB / 341.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.3703, allocations: 248 kB / 341.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.3743, allocations: 2.526 MB / 344.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3744, allocations: 0 / 344.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3744, allocations: 0 / 344.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.712e-05/0.3744, allocations: 0 / 344.4 MB, free: 4.281 MB / 282.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.004978/0.3794, allocations: 2.45 MB / 346.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3795, allocations: 8.031 kB / 346.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.3801, allocations: 379.4 kB / 347.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005235/0.3854, allocations: 2.204 MB / 349.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.3854, allocations: 40.94 kB / 349.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.3857, allocations: 51.98 kB / 349.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.3878, allocations: 0.7187 MB / 350.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3878, allocations: 0 / 350.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3879, allocations: 19.98 kB / 350.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.3879, allocations: 16 kB / 350.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.3905, allocations: 0.832 MB / 351.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007043/0.3976, allocations: 2.903 MB / 354 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.3998, allocations: 0.7328 MB / 354.8 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04299/0.4428, allocations: 30.3 MB / 385.1 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.4441, allocations: 385.4 kB / 385.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.376e-06/0.4441, allocations: 4 kB / 385.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.005238/0.4493, allocations: 1.447 MB / 386.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4494, allocations: 59.41 kB / 386.9 MB, free: 5.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.4539, allocations: 2.347 MB / 389.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.454, allocations: 41.69 kB / 389.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.4557, allocations: 1.387 MB / 390.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.456, allocations: 165.7 kB / 390.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.4561, allocations: 16 kB / 390.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4562, allocations: 337.9 kB / 391.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4572, allocations: 257.9 kB / 391.5 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.4585, allocations: 0.6047 MB / 392.1 MB, free: 8 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4597, allocations: 340.1 kB / 392.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4597, allocations: 4 kB / 392.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003721/0.4634, allocations: 1.318 MB / 393.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4635, allocations: 8.938 kB / 393.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/0.4637, allocations: 84 kB / 393.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008515/0.4645, allocations: 285.1 kB / 394.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4656, allocations: 179.7 kB / 394.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.467, allocations: 0.8829 MB / 395.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4686, allocations: 119 kB / 395.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.4688, allocations: 68.06 kB / 395.3 MB, free: 12.7 MB / 346.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.001028/0.4698, allocations: 417.5 kB / 395.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/0.4704, allocations: 367.5 kB / 396.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005184/0.4756, allocations: 1.329 MB / 397.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.4756, allocations: 11.98 kB / 397.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4756, allocations: 0 / 397.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4756, allocations: 0 / 397.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/0.4811, allocations: 2.221 MB / 399.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001556/0.4813, allocations: 75.98 kB / 399.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.4819, allocations: 71.88 kB / 399.8 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007729/0.4827, allocations: 268.7 kB / 400.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.4828, allocations: 32 kB / 400.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.4841, allocations: 0.8684 MB / 401 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4841, allocations: 0 / 401 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.4873, allocations: 1.289 MB / 402.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/0.4883, allocations: 460.4 kB / 402.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005427/0.4888, allocations: 12 kB / 402.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.49, allocations: 39.97 kB / 402.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.4903, allocations: 67.92 kB / 402.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.4904, allocations: 36 kB / 402.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003585/0.494, allocations: 1.805 MB / 404.7 MB, free: 3.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.494, allocations: 3.938 kB / 404.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001888/0.4959, allocations: 0.5699 MB / 405.2 MB, free: 2.551 MB / 346.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.001516/0.4974, allocations: 0.7419 MB / 406 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.5003, allocations: 0.8805 MB / 406.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5003, allocations: 0 / 406.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.5018, allocations: 0.5004 MB / 407.4 MB, free: 380 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.5042, allocations: 469.7 kB / 407.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008158/0.5124, allocations: 4.444 MB / 412.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.5139, allocations: 1.663 MB / 413.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001974/0.5159, allocations: 349 kB / 414.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.5162, allocations: 147.4 kB / 414.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.885e-06/0.5163, allocations: 4 kB / 414.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of Templates: time 0.318/0.8343, allocations: 30.89 MB / 445.3 MB, free: 96.43 MB / 362.7 MB