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_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.412e-05/7.477e-05, allocations: 6.812 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1681, allocations: 50.42 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5938, allocations: 79.66 MB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.594, allocations: 71.2 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02761/0.6217, allocations: 7.215 MB / 429.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.992e-06/0.6217, allocations: 0 / 429.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.6217, allocations: 4 kB / 429.5 MB, free: 8.445 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.0009847/0.6227, allocations: 0.5946 MB / 430.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6228, allocations: 12.03 kB / 430.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.6229, allocations: 23.72 kB / 430.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.6234, allocations: 253.5 kB / 430.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.6235, allocations: 48.45 kB / 430.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.6236, allocations: 23.39 kB / 430.5 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.6241, allocations: 224.5 kB / 430.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6242, allocations: 3.984 kB / 430.7 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.6242, allocations: 11.62 kB / 430.7 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.955e-06/0.6242, allocations: 4 kB / 430.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.6246, allocations: 167.4 kB / 430.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.6264, allocations: 0.7598 MB / 431.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.627, allocations: 259.5 kB / 431.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.6274, allocations: 206.6 kB / 432.1 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.6274, allocations: 4 kB / 432.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005561/0.628, allocations: 298.6 kB / 432.4 MB, free: 5.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.474e-06/0.628, allocations: 3.938 kB / 432.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008204/0.6288, allocations: 390.8 kB / 432.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.629, allocations: 225.3 kB / 433 MB, free: 5.258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.6293, allocations: 173.3 kB / 433.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.6293, allocations: 33.08 kB / 433.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.6294, allocations: 139.8 kB / 433.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.6296, allocations: 74.08 kB / 433.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.6296, allocations: 7.625 kB / 433.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6298, allocations: 337.7 kB / 433.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.63, allocations: 93.19 kB / 433.8 MB, free: 4.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.6303, allocations: 160.1 kB / 434 MB, free: 4.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.6306, allocations: 200.8 kB / 434.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6306, allocations: 0 / 434.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000736/0.6314, allocations: 407.8 kB / 434.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.6315, allocations: 96.66 kB / 434.7 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.208e-06/0.6315, allocations: 0 / 434.7 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6315, allocations: 7.938 kB / 434.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.6318, allocations: 39.73 kB / 434.7 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.6318, allocations: 12.06 kB / 434.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.6321, allocations: 31.14 kB / 434.7 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.6322, allocations: 19.7 kB / 434.8 MB, free: 3.598 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.0002484/0.6324, allocations: 217.2 kB / 435 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.6325, allocations: 35.7 kB / 435 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.6326, allocations: 20.41 kB / 435 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-06/0.6326, allocations: 0 / 435 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.421e-06/0.6326, allocations: 4 kB / 435 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.043e-06/0.6326, allocations: 0 / 435 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.6342, allocations: 0.9537 MB / 436 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6342, allocations: 0 / 436 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.6344, allocations: 23.92 kB / 436 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.334e-06/0.6344, allocations: 4 kB / 436 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.6345, allocations: 14.56 kB / 436 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.423e-06/0.6345, allocations: 0 / 436 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6345, allocations: 4 kB / 436 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.6355, allocations: 0.5724 MB / 436.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.6356, allocations: 100.8 kB / 436.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.6357, allocations: 14.31 kB / 436.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.636, allocations: 23.97 kB / 436.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.6361, allocations: 25.91 kB / 436.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.6362, allocations: 18.67 kB / 436.8 MB, free: 1.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.6363, allocations: 124.4 kB / 436.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.6363, allocations: 0 / 436.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000475/0.6368, allocations: 77.88 kB / 437 MB, free: 1.555 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.0002123/0.6371, allocations: 132.5 kB / 437.1 MB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.6379, allocations: 0.4982 MB / 437.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6379, allocations: 0 / 437.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.6384, allocations: 371.1 kB / 438 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.6391, allocations: 117.2 kB / 438.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.6401, allocations: 385.1 kB / 438.5 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.6406, allocations: 0.7602 MB / 439.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.6408, allocations: 54.02 kB / 439.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.6409, allocations: 19.44 kB / 439.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.555e-06/0.6409, allocations: 0 / 439.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01079/0.6517, allocations: 3.824 MB / 443.1 MB, free: 11.64 MB / 362.7 MB