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.931/1.931, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.015e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.088/0.08808, allocations: 44.5 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4319, allocations: 78.47 MB / 378.3 MB, free: 21.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4322, allocations: 67.38 kB / 378.4 MB, free: 21.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1177/0.5499, allocations: 43.16 MB / 421.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.892e-06/0.55, allocations: 0 / 421.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.55, allocations: 7.812 kB / 421.6 MB, free: 11.3 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.000828/0.5508, allocations: 0.9475 MB / 422.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5509, allocations: 11.62 kB / 422.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.551, allocations: 73.94 kB / 422.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.5515, allocations: 363.9 kB / 423 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.5516, allocations: 19.31 kB / 423 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.5517, allocations: 22.56 kB / 423 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.5523, allocations: 295.3 kB / 423.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5523, allocations: 0 / 423.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.5524, allocations: 11.56 kB / 423.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5524, allocations: 3.875 kB / 423.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.5528, allocations: 143.8 kB / 423.4 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.5543, allocations: 0.7667 MB / 424.2 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.5547, allocations: 209.5 kB / 424.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.5551, allocations: 189.5 kB / 424.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.5551, allocations: 3.875 kB / 424.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005822/0.5557, allocations: 429.9 kB / 425 MB, free: 9.168 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.451e-06/0.5558, allocations: 3.938 kB / 425 MB, free: 9.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001487/0.5573, allocations: 0.854 MB / 425.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.5574, allocations: 284.2 kB / 426.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.5588, allocations: 0.8326 MB / 427 MB, free: 8.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.5589, allocations: 41.02 kB / 427 MB, free: 8.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.559, allocations: 122 kB / 427.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.5591, allocations: 64.12 kB / 427.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.5592, allocations: 7.219 kB / 427.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.5593, allocations: 338.2 kB / 427.6 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.5596, allocations: 142.8 kB / 427.7 MB, free: 7.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.56, allocations: 169.5 kB / 427.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.5603, allocations: 356.1 kB / 428.2 MB, free: 7.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.463e-06/0.5604, allocations: 0 / 428.2 MB, free: 7.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001365/0.5617, allocations: 0.8209 MB / 429 MB, free: 6.906 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.5619, allocations: 244.8 kB / 429.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5619, allocations: 0 / 429.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5619, allocations: 0 / 429.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.644e-05/0.562, allocations: 11.31 kB / 429.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.201e-06/0.562, allocations: 7.75 kB / 429.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.5624, allocations: 35.03 kB / 429.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.5627, allocations: 259.9 kB / 429.6 MB, free: 6.594 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.0003011/0.563, allocations: 395.2 kB / 430 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.5631, allocations: 76.91 kB / 430 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.5635, allocations: 129.1 kB / 430.2 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-06/0.5635, allocations: 0 / 430.2 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.893e-06/0.5635, allocations: 3.938 kB / 430.2 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5636, allocations: 3.984 kB / 430.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.5658, allocations: 1.485 MB / 431.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-06/0.5658, allocations: 0 / 431.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.5658, allocations: 3.906 kB / 431.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.498e-06/0.5658, allocations: 3.938 kB / 431.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/0.5659, allocations: 45.34 kB / 431.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.802e-06/0.566, allocations: 0 / 431.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.48e-06/0.566, allocations: 3.984 kB / 431.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.5676, allocations: 1.038 MB / 432.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/0.5684, allocations: 430.2 kB / 433.2 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.5687, allocations: 31.17 kB / 433.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.5693, allocations: 23.52 kB / 433.2 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.5696, allocations: 75.06 kB / 433.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/0.5698, allocations: 260.7 kB / 433.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.571, allocations: 0.682 MB / 434.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.17e-07/0.571, allocations: 3.219 kB / 434.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.5717, allocations: 94.03 kB / 434.3 MB, free: 4.137 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.0002177/0.5719, allocations: 151.3 kB / 434.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.573, allocations: 0.8924 MB / 435.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.573, allocations: 0 / 435.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.5738, allocations: 0.7628 MB / 436.1 MB, free: 18.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5748, allocations: 234.1 kB / 436.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.577, allocations: 1.065 MB / 437.4 MB, free: 17.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/0.5779, allocations: 0.9508 MB / 438.4 MB, free: 16.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.5783, allocations: 101.1 kB / 438.5 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5784, allocations: 43.36 kB / 438.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.714e-06/0.5784, allocations: 0 / 438.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02516/0.6036, allocations: 11.91 MB / 450.4 MB, free: 4.262 MB / 330.7 MB