Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.259e-05, allocations: 6.031 kB / 292.7 MB, free: 8.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09212, allocations: 50.42 MB / 343.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4499, allocations: 79.66 MB / 422.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4502, allocations: 69.97 kB / 422.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.4771, allocations: 7.233 MB / 430 MB, free: 8.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.136e-06/0.4772, allocations: 0 / 430 MB, free: 8.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.4772, allocations: 4 kB / 430 MB, free: 8.496 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009958/0.4782, allocations: 0.5853 MB / 430.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4783, allocations: 8.031 kB / 430.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.4784, allocations: 23.72 kB / 430.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.4789, allocations: 258.9 kB / 430.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.774e-05/0.479, allocations: 49.33 kB / 431 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.4791, allocations: 23.62 kB / 431 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.4796, allocations: 227.5 kB / 431.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4796, allocations: 0 / 431.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.4797, allocations: 7.484 kB / 431.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.035e-06/0.4797, allocations: 8 kB / 431.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.4801, allocations: 160.3 kB / 431.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4819, allocations: 0.7684 MB / 432.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.4825, allocations: 256.2 kB / 432.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.4829, allocations: 201.6 kB / 432.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4829, allocations: 0 / 432.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.4835, allocations: 303.8 kB / 432.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.049e-06/0.4835, allocations: 0 / 432.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008369/0.4843, allocations: 386.1 kB / 433.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.4845, allocations: 236.6 kB / 433.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.4848, allocations: 163 kB / 433.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.4848, allocations: 37.08 kB / 433.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.485, allocations: 146.1 kB / 433.8 MB, free: 5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.4851, allocations: 69.3 kB / 433.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.4851, allocations: 7.625 kB / 433.9 MB, free: 4.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4853, allocations: 334.4 kB / 434.2 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.4855, allocations: 88.62 kB / 434.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.4858, allocations: 169.1 kB / 434.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.4861, allocations: 199 kB / 434.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-06/0.4862, allocations: 0 / 434.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007526/0.4869, allocations: 405.6 kB / 435.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.487, allocations: 97.25 kB / 435.2 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.758e-06/0.4871, allocations: 0 / 435.2 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4871, allocations: 4 kB / 435.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.4874, allocations: 46.91 kB / 435.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.4874, allocations: 4 kB / 435.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.4877, allocations: 27.58 kB / 435.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4877, allocations: 19.33 kB / 435.3 MB, free: 3.664 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0002658/0.488, allocations: 229.2 kB / 435.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.4881, allocations: 23.72 kB / 435.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.4881, allocations: 25.27 kB / 435.5 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.739e-06/0.4882, allocations: 4 kB / 435.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-06/0.4882, allocations: 0 / 435.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-06/0.4882, allocations: 0 / 435.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.4898, allocations: 0.9525 MB / 436.5 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4899, allocations: 8.172 kB / 436.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.49, allocations: 23.92 kB / 436.5 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-06/0.49, allocations: 3.938 kB / 436.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.4901, allocations: 11.33 kB / 436.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.544e-06/0.4901, allocations: 8.031 kB / 436.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-06/0.4901, allocations: 0 / 436.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.4911, allocations: 0.5673 MB / 437.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.4912, allocations: 92.83 kB / 437.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.4913, allocations: 19.3 kB / 437.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4917, allocations: 27.98 kB / 437.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.4918, allocations: 30.95 kB / 437.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.4919, allocations: 8 kB / 437.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.492, allocations: 133.1 kB / 437.4 MB, free: 1.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.492, allocations: 0 / 437.4 MB, free: 1.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005058/0.4926, allocations: 71.88 kB / 437.5 MB, free: 1.609 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0002298/0.4928, allocations: 139.5 kB / 437.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008367/0.4937, allocations: 0.4891 MB / 438.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.563e-06/0.4937, allocations: 0 / 438.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.4942, allocations: 372.1 kB / 438.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.4949, allocations: 136.8 kB / 438.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.496, allocations: 382.9 kB / 439 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.4965, allocations: 0.7525 MB / 439.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.4968, allocations: 54 kB / 439.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.4969, allocations: 19.44 kB / 439.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.887e-06/0.4969, allocations: 0 / 439.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Templates: time 0.0109/0.5078, allocations: 3.804 MB / 443.6 MB, free: 11.71 MB / 362.7 MB