Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.073e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09205, allocations: 50.42 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5281, allocations: 83.89 MB / 426.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5283, allocations: 74.14 kB / 426.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1396/0.668, allocations: 43.71 MB / 470.2 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.668, allocations: 0 / 470.2 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.995e-05/0.6681, allocations: 8 kB / 470.2 MB, free: 3.59 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.001189/0.6693, allocations: 0.9357 MB / 471.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6693, allocations: 12.03 kB / 471.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.6695, allocations: 79.06 kB / 471.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.6701, allocations: 379.9 kB / 471.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.6702, allocations: 8.188 kB / 471.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/0.6703, allocations: 23.98 kB / 471.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.671, allocations: 295.8 kB / 471.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.804e-06/0.671, allocations: 0 / 471.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.6711, allocations: 8 kB / 471.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-06/0.6711, allocations: 4 kB / 472 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.6715, allocations: 148.3 kB / 472.1 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.6732, allocations: 0.7668 MB / 472.9 MB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.6738, allocations: 210.5 kB / 473.1 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.6742, allocations: 188.8 kB / 473.3 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.6742, allocations: 4 kB / 473.3 MB, free: 352 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/0.675, allocations: 438.2 kB / 473.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.905e-06/0.675, allocations: 0 / 473.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001828/0.6769, allocations: 0.8653 MB / 474.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.6771, allocations: 285 kB / 474.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.6788, allocations: 0.8313 MB / 475.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.6789, allocations: 37.7 kB / 475.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.679, allocations: 180.5 kB / 475.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.6792, allocations: 59.27 kB / 475.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.6793, allocations: 12 kB / 475.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6794, allocations: 322.8 kB / 476.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.6798, allocations: 144.2 kB / 476.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.6802, allocations: 166.2 kB / 476.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.6808, allocations: 361.5 kB / 476.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-06/0.6808, allocations: 0 / 476.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001661/0.6825, allocations: 0.7997 MB / 477.7 MB, free: 11.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.6827, allocations: 249.6 kB / 478 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6828, allocations: 0 / 478 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6828, allocations: 3.953 kB / 478 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.6828, allocations: 7.938 kB / 478 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6829, allocations: 4 kB / 478 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.6833, allocations: 31.88 kB / 478 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.6836, allocations: 263.8 kB / 478.3 MB, free: 11 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.0004675/0.6841, allocations: 406.4 kB / 478.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.6843, allocations: 75.16 kB / 478.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.6847, allocations: 127 kB / 478.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.864e-06/0.6847, allocations: 3.953 kB / 478.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.571e-06/0.6847, allocations: 0 / 478.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.6848, allocations: 11.98 kB / 478.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.6876, allocations: 1.48 MB / 480.4 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.6876, allocations: 4 kB / 480.4 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.6876, allocations: 8 kB / 480.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-06/0.6876, allocations: 0 / 480.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6878, allocations: 47.92 kB / 480.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.561e-06/0.6878, allocations: 3.938 kB / 480.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-06/0.6878, allocations: 0 / 480.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.6898, allocations: 1.016 MB / 481.4 MB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/0.6907, allocations: 423.8 kB / 481.8 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.6909, allocations: 23.98 kB / 481.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.6913, allocations: 39.84 kB / 481.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.6916, allocations: 79.83 kB / 482 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003602/0.692, allocations: 267.5 kB / 482.2 MB, free: 6.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001378/0.6934, allocations: 0.6899 MB / 482.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.84e-07/0.6934, allocations: 0 / 482.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000586/0.694, allocations: 92 kB / 483 MB, free: 5.988 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.0002601/0.6942, allocations: 141.4 kB / 483.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.6957, allocations: 0.9016 MB / 484.1 MB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.519e-06/0.6957, allocations: 0 / 484.1 MB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.6967, allocations: 0.7608 MB / 484.8 MB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6978, allocations: 235.8 kB / 485.1 MB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.7004, allocations: 1.136 MB / 486.2 MB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/0.7014, allocations: 0.9558 MB / 487.1 MB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.7016, allocations: 51.34 kB / 487.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of SimCode: time 2.117e-06/0.7016, allocations: 0 / 487.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of Templates: time 0.0145/0.7161, allocations: 7.913 MB / 495.1 MB, free: 9.543 MB / 410.7 MB