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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.25e-05, allocations: 0 / 269.3 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08755, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4351, allocations: 78.08 MB / 395 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4354, allocations: 72.03 kB / 395.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02695/0.4624, allocations: 7.056 MB / 402.1 MB, free: 4.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4624, allocations: 0 / 402.1 MB, free: 4.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.4625, allocations: 4 kB / 402.1 MB, free: 4.137 MB / 314.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.001037/0.4635, allocations: 0.5865 MB / 402.7 MB, free: 3.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4636, allocations: 12.03 kB / 402.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.4637, allocations: 27.66 kB / 402.8 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.4643, allocations: 268 kB / 403 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4644, allocations: 52.75 kB / 403.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.4645, allocations: 15.5 kB / 403.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.465, allocations: 226.3 kB / 403.3 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.465, allocations: 0 / 403.3 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.4651, allocations: 10.56 kB / 403.3 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4651, allocations: 4 kB / 403.3 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.4655, allocations: 160 kB / 403.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4674, allocations: 0.7619 MB / 404.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.468, allocations: 252.4 kB / 404.5 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.4684, allocations: 202.3 kB / 404.7 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.4685, allocations: 4 kB / 404.7 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.469, allocations: 302.4 kB / 405 MB, free: 1.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.064e-06/0.4691, allocations: 0 / 405 MB, free: 1.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008878/0.47, allocations: 398.1 kB / 405.4 MB, free: 1.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.4702, allocations: 228.8 kB / 405.6 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.4704, allocations: 160.5 kB / 405.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.4705, allocations: 45.16 kB / 405.8 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4706, allocations: 131.2 kB / 405.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/0.4707, allocations: 86.06 kB / 406 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.4707, allocations: 7.562 kB / 406 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4709, allocations: 334.5 kB / 406.3 MB, free: 252 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.4712, allocations: 91.06 kB / 406.4 MB, free: 184 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.4714, allocations: 157.7 kB / 406.6 MB, free: 36 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.4718, allocations: 204.5 kB / 406.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-06/0.4718, allocations: 0 / 406.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007929/0.4726, allocations: 417 kB / 407.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4728, allocations: 100.9 kB / 407.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-06/0.4728, allocations: 0 / 407.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.4728, allocations: 7.953 kB / 407.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.4731, allocations: 43.72 kB / 407.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.4732, allocations: 4 kB / 407.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4735, allocations: 23.92 kB / 407.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.4735, allocations: 11.88 kB / 407.4 MB, free: 15.3 MB / 330.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.0002835/0.4738, allocations: 218.3 kB / 407.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.4739, allocations: 27.72 kB / 407.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.474, allocations: 26.14 kB / 407.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-06/0.474, allocations: 3.953 kB / 407.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.609e-06/0.474, allocations: 4 kB / 407.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-06/0.474, allocations: 0 / 407.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.4757, allocations: 0.9531 MB / 408.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4758, allocations: 0 / 408.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.476, allocations: 23.92 kB / 408.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.476, allocations: 4 kB / 408.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.4761, allocations: 19.89 kB / 408.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.987e-06/0.4761, allocations: 3.984 kB / 408.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.56e-06/0.4761, allocations: 4 kB / 408.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.4771, allocations: 0.5683 MB / 409.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4773, allocations: 100.8 kB / 409.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.4774, allocations: 15.8 kB / 409.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.4777, allocations: 27.8 kB / 409.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4779, allocations: 27.83 kB / 409.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.4779, allocations: 8 kB / 409.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.4781, allocations: 127 kB / 409.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4781, allocations: 0 / 409.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000526/0.4786, allocations: 87.36 kB / 409.6 MB, free: 13.23 MB / 330.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.0002545/0.4789, allocations: 140.3 kB / 409.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008796/0.4798, allocations: 0.49 MB / 410.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4798, allocations: 0 / 410.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.4803, allocations: 373.8 kB / 410.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.4812, allocations: 123.3 kB / 410.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4823, allocations: 377.4 kB / 411.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4828, allocations: 0.7525 MB / 411.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.4831, allocations: 50.02 kB / 411.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.4831, allocations: 19.44 kB / 411.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of SimCode: time 5.129e-06/0.4832, allocations: 0 / 411.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of Templates: time 0.01158/0.4948, allocations: 3.812 MB / 415.7 MB, free: 7.32 MB / 330.7 MB