Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.867e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2923, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002402/0.2948, allocations: 1.445 MB / 304.8 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.2977, allocations: 0.8958 MB / 305.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2978, allocations: 3.75 kB / 305.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.298, allocations: 28.81 kB / 305.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.2981, allocations: 29.31 kB / 305.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.2985, allocations: 64.89 kB / 305.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.2988, allocations: 115.7 kB / 305.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2989, allocations: 24.95 kB / 305.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.2999, allocations: 0.5169 MB / 306.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.3001, allocations: 143.7 kB / 306.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.3002, allocations: 8 kB / 306.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.733e-05/0.3003, allocations: 8 kB / 306.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.3005, allocations: 139.5 kB / 306.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3007, allocations: 28 kB / 306.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.3015, allocations: 0.6024 MB / 307.4 MB, free: 9.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3015, allocations: 0 / 307.4 MB, free: 9.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3015, allocations: 0 / 307.4 MB, free: 9.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3015, allocations: 0 / 307.4 MB, free: 9.562 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.001126/0.3026, allocations: 0.9251 MB / 308.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3027, allocations: 12.03 kB / 308.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3029, allocations: 79.09 kB / 308.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.3035, allocations: 355.7 kB / 308.7 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.3036, allocations: 16.19 kB / 308.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.3037, allocations: 20 kB / 308.8 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.3044, allocations: 247.2 kB / 309 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3045, allocations: 0 / 309 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.3045, allocations: 12 kB / 309 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.3046, allocations: 0 / 309 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.3051, allocations: 140.6 kB / 309.1 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3067, allocations: 0.7392 MB / 309.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.3073, allocations: 210.4 kB / 310.1 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3073, allocations: 4 kB / 310.1 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000813/0.3082, allocations: 389.8 kB / 310.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.755e-06/0.3082, allocations: 0 / 310.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002539/0.3107, allocations: 1.23 MB / 311.7 MB, free: 4.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.3109, allocations: 281 kB / 312 MB, free: 4.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.3128, allocations: 0.839 MB / 312.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/0.3129, allocations: 37.7 kB / 312.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.313, allocations: 122 kB / 313 MB, free: 3.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.3132, allocations: 67.19 kB / 313 MB, free: 3.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.3132, allocations: 12 kB / 313 MB, free: 3.422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3134, allocations: 334.8 kB / 313.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.3138, allocations: 124.2 kB / 313.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.3143, allocations: 163.9 kB / 313.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.3149, allocations: 349.5 kB / 314 MB, free: 2.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3149, allocations: 0 / 314 MB, free: 2.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00175/0.3167, allocations: 0.7254 MB / 314.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.3169, allocations: 246.5 kB / 315 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3169, allocations: 4 kB / 315 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3169, allocations: 4.094 kB / 315 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.317, allocations: 8 kB / 315 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.317, allocations: 3.938 kB / 315 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.3175, allocations: 35.88 kB / 315 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.3177, allocations: 112.1 kB / 315.1 MB, free: 1.168 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.0009476/0.3186, allocations: 0.6046 MB / 315.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.3188, allocations: 75.16 kB / 315.8 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3191, allocations: 134.8 kB / 315.9 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3191, allocations: 4 kB / 315.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3191, allocations: 0 / 315.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.3192, allocations: 0 / 315.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.322, allocations: 1.405 MB / 317.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3221, allocations: 4 kB / 317.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.3221, allocations: 4 kB / 317.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3221, allocations: 3.953 kB / 317.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.3222, allocations: 31.98 kB / 317.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3222, allocations: 3.984 kB / 317.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3222, allocations: 0 / 317.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.3243, allocations: 0.9453 MB / 318.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.3253, allocations: 419.8 kB / 318.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.3255, allocations: 23.95 kB / 318.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.3259, allocations: 27.98 kB / 318.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.3262, allocations: 67.84 kB / 318.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/0.3264, allocations: 107.9 kB / 319 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.3279, allocations: 0.6899 MB / 319.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3279, allocations: 0 / 319.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.3285, allocations: 99.84 kB / 319.8 MB, free: 12.28 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.0002596/0.3288, allocations: 139.2 kB / 319.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.3304, allocations: 0.8857 MB / 320.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.3304, allocations: 0 / 320.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3314, allocations: 0.753 MB / 321.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.333, allocations: 230 kB / 321.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.3363, allocations: 1.444 MB / 323.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009243/0.3373, allocations: 0.9559 MB / 324.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.3377, allocations: 97.33 kB / 324.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3378, allocations: 43.36 kB / 324.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3378, allocations: 0 / 324.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of Templates: time 0.02042/0.3582, allocations: 8.206 MB / 332.5 MB, free: 15.28 MB / 282.7 MB