Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.03e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2278, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.3968, allocations: 73.15 MB / 336.9 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004003/0.3973, allocations: 63.97 kB / 337 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3245/0.7219, allocations: 43.61 MB / 380.6 MB, free: 89.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.396e-06/0.7219, allocations: 0 / 380.6 MB, free: 89.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.722, allocations: 10.94 kB / 380.6 MB, free: 89.17 MB / 314.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.0008791/0.7228, allocations: 0.9493 MB / 381.6 MB, free: 88.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7229, allocations: 11.75 kB / 381.6 MB, free: 88.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.7231, allocations: 78.94 kB / 381.7 MB, free: 88.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.7236, allocations: 364.2 kB / 382 MB, free: 88.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.7237, allocations: 16 kB / 382 MB, free: 88.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.7238, allocations: 13.09 kB / 382 MB, free: 88.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.7244, allocations: 301.1 kB / 382.3 MB, free: 88.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7244, allocations: 3.578 kB / 382.3 MB, free: 88.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.7245, allocations: 10.69 kB / 382.4 MB, free: 88.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-06/0.7245, allocations: 7.953 kB / 382.4 MB, free: 88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.7249, allocations: 149.5 kB / 382.5 MB, free: 87.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.7264, allocations: 0.7691 MB / 383.3 MB, free: 87.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.7268, allocations: 208.1 kB / 383.5 MB, free: 87.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.7272, allocations: 186.9 kB / 383.7 MB, free: 87.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.7273, allocations: 3.938 kB / 383.7 MB, free: 87.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005884/0.7279, allocations: 420.5 kB / 384.1 MB, free: 87.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 4.032e-06/0.7279, allocations: 0 / 384.1 MB, free: 87.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001507/0.7294, allocations: 0.8698 MB / 384.9 MB, free: 86.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.7295, allocations: 281.5 kB / 385.2 MB, free: 86.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.731, allocations: 0.832 MB / 386.1 MB, free: 85.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.7311, allocations: 37.7 kB / 386.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.7312, allocations: 121.5 kB / 386.2 MB, free: 85.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.7313, allocations: 69.62 kB / 386.3 MB, free: 85.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.7313, allocations: 8 kB / 386.3 MB, free: 85.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.7314, allocations: 337.3 kB / 386.6 MB, free: 85.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.7318, allocations: 143.5 kB / 386.8 MB, free: 85.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.7321, allocations: 161.3 kB / 386.9 MB, free: 84.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.7325, allocations: 367.9 kB / 387.3 MB, free: 84.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7325, allocations: 3.953 kB / 387.3 MB, free: 84.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001336/0.7339, allocations: 0.8145 MB / 388.1 MB, free: 83.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.734, allocations: 244.9 kB / 388.3 MB, free: 83.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.737e-06/0.734, allocations: 0 / 388.3 MB, free: 83.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7341, allocations: 4 kB / 388.3 MB, free: 83.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.7341, allocations: 11.88 kB / 388.3 MB, free: 83.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7341, allocations: 4 kB / 388.3 MB, free: 83.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.7345, allocations: 27.75 kB / 388.4 MB, free: 83.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.7348, allocations: 264.4 kB / 388.6 MB, free: 83.15 MB / 314.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.0002947/0.7351, allocations: 388.2 kB / 389 MB, free: 82.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.7352, allocations: 83.02 kB / 389.1 MB, free: 82.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.7356, allocations: 133.2 kB / 389.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.7356, allocations: 4 kB / 389.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/0.7356, allocations: 0 / 389.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-06/0.7356, allocations: 0 / 389.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.7378, allocations: 1.485 MB / 390.7 MB, free: 81.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.7378, allocations: 0 / 390.7 MB, free: 81.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.7379, allocations: 4 kB / 390.7 MB, free: 81.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.7379, allocations: 3.984 kB / 390.7 MB, free: 81.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.738, allocations: 47.97 kB / 390.8 MB, free: 80.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.738, allocations: 7.938 kB / 390.8 MB, free: 80.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-06/0.738, allocations: 0 / 390.8 MB, free: 80.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.7395, allocations: 1.027 MB / 391.8 MB, free: 79.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007855/0.7403, allocations: 427.7 kB / 392.2 MB, free: 79.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.7405, allocations: 20 kB / 392.2 MB, free: 79.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.7409, allocations: 27.98 kB / 392.3 MB, free: 79.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.7411, allocations: 79.11 kB / 392.3 MB, free: 79.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/0.7414, allocations: 267.8 kB / 392.6 MB, free: 79.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.7425, allocations: 0.6861 MB / 393.3 MB, free: 78.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-07/0.7425, allocations: 4 kB / 393.3 MB, free: 78.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00056/0.7431, allocations: 88 kB / 393.4 MB, free: 78.27 MB / 314.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.000202/0.7433, allocations: 153.3 kB / 393.5 MB, free: 78.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.7443, allocations: 0.8937 MB / 394.4 MB, free: 77.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.588e-06/0.7444, allocations: 4.062 kB / 394.4 MB, free: 77.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.745, allocations: 0.7607 MB / 395.2 MB, free: 76.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.746, allocations: 223.5 kB / 395.4 MB, free: 76.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.7481, allocations: 1.071 MB / 396.5 MB, free: 74.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.7487, allocations: 0.9597 MB / 397.4 MB, free: 73.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.749, allocations: 90.55 kB / 397.5 MB, free: 73.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.7491, allocations: 43.36 kB / 397.6 MB, free: 73.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.797e-06/0.7491, allocations: 0 / 397.6 MB, free: 73.83 MB / 314.7 MB Notification: Performance of Templates: time 0.02042/0.7696, allocations: 11.93 MB / 409.5 MB, free: 61.84 MB / 314.7 MB