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.2_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadModel(Modelica): time 1.844/1.844, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.749e-05, allocations: 4 kB / 258.8 MB, free: 8.07 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2956, allocations: 44.51 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005158/0.3008, allocations: 3.291 MB / 306.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.3034, allocations: 0.9536 MB / 307.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.304, allocations: 15.94 kB / 307.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.3042, allocations: 71.44 kB / 307.6 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.3047, allocations: 163.5 kB / 307.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.3053, allocations: 171.7 kB / 308 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009075/0.3063, allocations: 445.4 kB / 308.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.3066, allocations: 142.2 kB / 308.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.3071, allocations: 271.4 kB / 308.8 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.3076, allocations: 334.9 kB / 309.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.3078, allocations: 40 kB / 309.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.308, allocations: 36 kB / 309.2 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.3081, allocations: 127.5 kB / 309.3 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.3083, allocations: 59.94 kB / 309.4 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3096, allocations: 0.8647 MB / 310.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3096, allocations: 0 / 310.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3096, allocations: 0 / 310.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.3096, allocations: 4 kB / 310.3 MB, free: 6.621 MB / 250.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.004305/0.3139, allocations: 1.1 MB / 311.4 MB, free: 5.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.314, allocations: 8.031 kB / 311.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.3143, allocations: 75.16 kB / 311.4 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.3151, allocations: 432.7 kB / 311.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.3152, allocations: 45.3 kB / 311.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.3154, allocations: 52 kB / 312 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.3192, allocations: 0.9955 MB / 313 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.3192, allocations: 4 kB / 313 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.3194, allocations: 20 kB / 313 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.3194, allocations: 16 kB / 313 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005502/0.3249, allocations: 1.124 MB / 314.1 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007611/0.3325, allocations: 3.146 MB / 317.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/0.337, allocations: 1.022 MB / 318.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.3371, allocations: 20.48 kB / 318.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002252/0.3394, allocations: 0.5089 MB / 318.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 3.627e-06/0.3394, allocations: 0 / 318.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.006192/0.3456, allocations: 1.267 MB / 320.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.3458, allocations: 265.5 kB / 320.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3469, allocations: 453 kB / 320.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.347, allocations: 37.7 kB / 320.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.3474, allocations: 335.6 kB / 321.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.3476, allocations: 169.6 kB / 321.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.3477, allocations: 16 kB / 321.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3479, allocations: 370.8 kB / 321.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/0.3503, allocations: 457.7 kB / 322.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.3529, allocations: 0.7081 MB / 322.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.3553, allocations: 0.5246 MB / 323.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3554, allocations: 4 kB / 323.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005479/0.3609, allocations: 1.239 MB / 324.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.361, allocations: 68.34 kB / 324.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.361, allocations: 4 kB / 324.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.361, allocations: 12 kB / 324.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.3631, allocations: 255.9 kB / 325 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/0.3632, allocations: 15.94 kB / 325 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.3651, allocations: 215.1 kB / 325.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.3653, allocations: 32 kB / 325.2 MB, free: 7.062 MB / 266.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.0004631/0.3658, allocations: 213.6 kB / 325.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3659, allocations: 59.28 kB / 325.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.3661, allocations: 65.59 kB / 325.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3662, allocations: 4 kB / 325.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3662, allocations: 15.81 kB / 325.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3662, allocations: 0 / 325.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/0.3719, allocations: 1.739 MB / 327.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.372, allocations: 3.953 kB / 327.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.3735, allocations: 179.8 kB / 327.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3736, allocations: 0 / 327.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.3736, allocations: 15.98 kB / 327.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.3737, allocations: 4 kB / 327.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3737, allocations: 3.938 kB / 327.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/0.38, allocations: 1.462 MB / 329 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3803, allocations: 140.3 kB / 329.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.3805, allocations: 20.06 kB / 329.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.382, allocations: 139.9 kB / 329.3 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.3822, allocations: 56.36 kB / 329.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/0.3823, allocations: 19.98 kB / 329.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008027/0.3831, allocations: 342.9 kB / 329.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3832, allocations: 0 / 329.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008527/0.384, allocations: 171.7 kB / 329.8 MB, free: 2.336 MB / 266.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.0002256/0.3843, allocations: 112.6 kB / 329.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005352/0.3896, allocations: 1.118 MB / 331.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.3897, allocations: 0.875 kB / 331.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.3919, allocations: 474.2 kB / 331.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.3926, allocations: 81.81 kB / 331.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.3972, allocations: 1.409 MB / 333 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.3981, allocations: 0.8746 MB / 333.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001271/0.3994, allocations: 80.66 kB / 334 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.3999, allocations: 43.44 kB / 334 MB, free: 14.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3999, allocations: 0 / 334 MB, free: 14.06 MB / 282.7 MB Notification: Performance of Templates: time 0.03144/0.4313, allocations: 7.023 MB / 341 MB, free: 7.066 MB / 282.7 MB