Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.111e-05, allocations: 10.03 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.0894, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5193, allocations: 83.84 MB / 426.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.5195, allocations: 66.34 kB / 427 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1364/0.656, allocations: 43.72 MB / 470.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.838e-06/0.656, allocations: 0 / 470.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.656, allocations: 12 kB / 470.7 MB, free: 3.312 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001161/0.6572, allocations: 0.9357 MB / 471.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6573, allocations: 8.031 kB / 471.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.6575, allocations: 79.06 kB / 471.7 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.6581, allocations: 375.9 kB / 472.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.6581, allocations: 12.19 kB / 472.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.6582, allocations: 20 kB / 472.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.659, allocations: 295.8 kB / 472.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.982e-06/0.659, allocations: 0 / 472.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.6591, allocations: 8 kB / 472.4 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.946e-06/0.6591, allocations: 0 / 472.4 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.6595, allocations: 152.3 kB / 472.6 MB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.6612, allocations: 0.7746 MB / 473.3 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.6618, allocations: 206.5 kB / 473.5 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.6622, allocations: 188.8 kB / 473.7 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.6622, allocations: 4 kB / 473.7 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007595/0.663, allocations: 438.1 kB / 474.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.699e-06/0.663, allocations: 0 / 474.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001795/0.6648, allocations: 0.8658 MB / 475 MB, free: 14.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002057/0.6651, allocations: 285 kB / 475.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.6667, allocations: 0.8274 MB / 476.1 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.759e-05/0.6668, allocations: 41.7 kB / 476.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.6669, allocations: 130 kB / 476.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.667, allocations: 59.25 kB / 476.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.6671, allocations: 12 kB / 476.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6673, allocations: 338.8 kB / 476.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.6677, allocations: 140.2 kB / 476.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.6681, allocations: 166.2 kB / 477 MB, free: 12.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.6687, allocations: 365.5 kB / 477.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-06/0.6687, allocations: 0 / 477.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001672/0.6704, allocations: 0.8113 MB / 478.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.6706, allocations: 241.6 kB / 478.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.735e-06/0.6706, allocations: 3.938 kB / 478.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6706, allocations: 3.953 kB / 478.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-05/0.6707, allocations: 7.984 kB / 478.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.115e-06/0.6707, allocations: 4 kB / 478.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.6711, allocations: 31.92 kB / 478.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.6715, allocations: 271.8 kB / 478.7 MB, free: 10.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0004445/0.6719, allocations: 390.4 kB / 479.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.6721, allocations: 75.16 kB / 479.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.6725, allocations: 131 kB / 479.3 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.315e-06/0.6725, allocations: 3.953 kB / 479.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6725, allocations: 0 / 479.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-06/0.6725, allocations: 4 kB / 479.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.6753, allocations: 1.48 MB / 480.8 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.378e-06/0.6754, allocations: 4 kB / 480.8 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.6754, allocations: 7.938 kB / 480.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-06/0.6754, allocations: 0 / 480.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.6755, allocations: 55.91 kB / 480.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.628e-06/0.6756, allocations: 0 / 480.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-06/0.6756, allocations: 0 / 480.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.6775, allocations: 1.023 MB / 481.9 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009446/0.6785, allocations: 427.8 kB / 482.3 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.6787, allocations: 20 kB / 482.3 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.6791, allocations: 27.94 kB / 482.3 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.6794, allocations: 75.91 kB / 482.4 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003601/0.6797, allocations: 267.5 kB / 482.7 MB, free: 6.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.681, allocations: 0.686 MB / 483.4 MB, free: 5.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.681, allocations: 3.938 kB / 483.4 MB, free: 5.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005887/0.6816, allocations: 96 kB / 483.5 MB, free: 5.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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 Backend phase and start with SimCode phase: time 0.0002511/0.6819, allocations: 141.4 kB / 483.6 MB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.6833, allocations: 0.9054 MB / 484.5 MB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6833, allocations: 0 / 484.5 MB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009467/0.6843, allocations: 0.757 MB / 485.3 MB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6854, allocations: 230.2 kB / 485.5 MB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.6878, allocations: 1.064 MB / 486.6 MB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/0.6887, allocations: 0.9558 MB / 487.5 MB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.689, allocations: 97.11 kB / 487.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6892, allocations: 43.36 kB / 487.6 MB, free: 1.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.705e-06/0.6892, allocations: 0 / 487.6 MB, free: 1.32 MB / 394.7 MB Notification: Performance of Templates: time 0.02405/0.7132, allocations: 11.91 MB / 499.6 MB, free: 5.324 MB / 410.7 MB