Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 2.262/2.262, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.888e-05, allocations: 4 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3218, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002676/0.3245, allocations: 1.441 MB / 304.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.3276, allocations: 0.8996 MB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3278, allocations: 4.031 kB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3279, allocations: 12.86 kB / 305.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3281, allocations: 41.23 kB / 305.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.3285, allocations: 61.34 kB / 305.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3288, allocations: 115 kB / 305.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.329, allocations: 32.94 kB / 305.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.3299, allocations: 0.5068 MB / 306.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.3302, allocations: 151.1 kB / 306.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.3303, allocations: 8 kB / 306.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.3304, allocations: 8 kB / 306.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.3306, allocations: 135.5 kB / 306.7 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3308, allocations: 28 kB / 306.7 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.3316, allocations: 0.6019 MB / 307.3 MB, free: 9.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3316, allocations: 0 / 307.3 MB, free: 9.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3316, allocations: 4 kB / 307.3 MB, free: 9.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3317, allocations: 0 / 307.3 MB, free: 9.66 MB / 250.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.001263/0.3329, allocations: 0.924 MB / 308.2 MB, free: 8.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.333, allocations: 12.03 kB / 308.3 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3332, allocations: 75.11 kB / 308.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006322/0.3339, allocations: 363.6 kB / 308.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.3339, allocations: 20.19 kB / 308.7 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.334, allocations: 27.92 kB / 308.7 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.3348, allocations: 242.1 kB / 309 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3349, allocations: 8 kB / 309 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.3349, allocations: 11.98 kB / 309 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.335, allocations: 4 kB / 309 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.3355, allocations: 132.6 kB / 309.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3374, allocations: 0.7393 MB / 309.9 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.3381, allocations: 202.5 kB / 310.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3381, allocations: 3.938 kB / 310.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000845/0.339, allocations: 389.8 kB / 310.4 MB, free: 6.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 4.008e-06/0.339, allocations: 4 kB / 310.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002653/0.3417, allocations: 1.23 MB / 311.7 MB, free: 4.938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.3419, allocations: 281 kB / 312 MB, free: 4.602 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.3439, allocations: 0.8351 MB / 312.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.3441, allocations: 37.7 kB / 312.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3443, allocations: 180.5 kB / 313 MB, free: 3.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3444, allocations: 63.2 kB / 313.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3445, allocations: 8 kB / 313.1 MB, free: 3.473 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3446, allocations: 322.8 kB / 313.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.3451, allocations: 128.2 kB / 313.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3456, allocations: 163.9 kB / 313.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.3462, allocations: 341.5 kB / 314 MB, free: 2.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3462, allocations: 0 / 314 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001737/0.3479, allocations: 0.7218 MB / 314.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.3482, allocations: 246.9 kB / 315 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3483, allocations: 0 / 315 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3483, allocations: 4 kB / 315 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.3483, allocations: 8 kB / 315 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3484, allocations: 3.938 kB / 315 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.3489, allocations: 35.88 kB / 315 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.3491, allocations: 108.1 kB / 315.1 MB, free: 1.246 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.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.001034/0.3501, allocations: 0.6124 MB / 315.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.3503, allocations: 75.16 kB / 315.8 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.3507, allocations: 138.8 kB / 315.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3507, allocations: 0 / 315.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3507, allocations: 0 / 315.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3507, allocations: 0 / 315.9 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.3538, allocations: 1.406 MB / 317.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3539, allocations: 7.938 kB / 317.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.3539, allocations: 4 kB / 317.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.3539, allocations: 7.953 kB / 317.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.354, allocations: 27.98 kB / 317.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.354, allocations: 7.938 kB / 317.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3541, allocations: 0 / 317.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.3562, allocations: 0.9377 MB / 318.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.3574, allocations: 423.8 kB / 318.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3576, allocations: 23.95 kB / 318.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.3581, allocations: 31.89 kB / 318.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.3583, allocations: 59.92 kB / 318.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.3585, allocations: 107.9 kB / 319 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001612/0.3602, allocations: 0.6899 MB / 319.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3602, allocations: 0 / 319.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006508/0.3609, allocations: 95.94 kB / 319.8 MB, free: 12.35 MB / 266.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.0002885/0.3612, allocations: 147.2 kB / 319.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3628, allocations: 0.8897 MB / 320.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3628, allocations: 0 / 320.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3639, allocations: 0.7452 MB / 321.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.3655, allocations: 227 kB / 321.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.3695, allocations: 1.508 MB / 323.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/0.3705, allocations: 0.9637 MB / 324.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3707, allocations: 51.34 kB / 324.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3707, allocations: 0 / 324.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of Templates: time 0.01265/0.3833, allocations: 5.265 MB / 329.5 MB, free: 2.262 MB / 266.7 MB