Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.28e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.0852, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.435, allocations: 82.7 MB / 399.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4353, allocations: 72.89 kB / 399.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.5733, allocations: 43.17 MB / 442.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.432e-06/0.5733, allocations: 0 / 442.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.5733, allocations: 12 kB / 442.9 MB, free: 1.699 MB / 346.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.001171/0.5745, allocations: 0.9568 MB / 443.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5746, allocations: 8.031 kB / 443.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.5747, allocations: 79.16 kB / 443.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.5754, allocations: 365 kB / 444.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.5754, allocations: 15.81 kB / 444.3 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.5755, allocations: 19.44 kB / 444.3 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.5763, allocations: 289.7 kB / 444.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.811e-06/0.5763, allocations: 0 / 444.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.5764, allocations: 15.67 kB / 444.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.508e-06/0.5764, allocations: 3.953 kB / 444.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.5768, allocations: 144.4 kB / 444.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.5785, allocations: 0.7681 MB / 445.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.579, allocations: 210.1 kB / 445.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.5794, allocations: 188.8 kB / 445.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.5795, allocations: 0 / 445.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007483/0.5802, allocations: 429.9 kB / 446.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.052e-06/0.5803, allocations: 0 / 446.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001816/0.5821, allocations: 0.8616 MB / 447.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.5823, allocations: 281 kB / 447.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5839, allocations: 0.8313 MB / 448.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.584, allocations: 33.7 kB / 448.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5842, allocations: 134 kB / 448.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5843, allocations: 59.25 kB / 448.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.5844, allocations: 8 kB / 448.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5846, allocations: 334.8 kB / 448.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.585, allocations: 144.2 kB / 449 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.5854, allocations: 170.1 kB / 449.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.5859, allocations: 369.3 kB / 449.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.739e-06/0.586, allocations: 3.953 kB / 449.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001686/0.5877, allocations: 0.8113 MB / 450.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.5879, allocations: 249.6 kB / 450.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.346e-06/0.5879, allocations: 0 / 450.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5879, allocations: 0 / 450.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.588, allocations: 4 kB / 450.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.588, allocations: 7.938 kB / 450.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.5884, allocations: 31.92 kB / 450.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.5888, allocations: 267.8 kB / 450.9 MB, free: 9.293 MB / 362.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.0004384/0.5893, allocations: 390.5 kB / 451.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.5894, allocations: 87.09 kB / 451.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.5898, allocations: 127 kB / 451.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-06/0.5898, allocations: 0 / 451.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.943e-06/0.5898, allocations: 0 / 451.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.383e-06/0.5899, allocations: 4 kB / 451.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.5926, allocations: 1.491 MB / 453 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.8e-06/0.5927, allocations: 3.984 kB / 453 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.5927, allocations: 11.94 kB / 453 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.222e-06/0.5927, allocations: 0 / 453 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5928, allocations: 43.97 kB / 453 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5928, allocations: 0 / 453 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5928, allocations: 0 / 453 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.5948, allocations: 1.023 MB / 454.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000935/0.5958, allocations: 431.8 kB / 454.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.596, allocations: 16 kB / 454.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.5964, allocations: 35.88 kB / 454.5 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.5967, allocations: 67.92 kB / 454.6 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/0.5971, allocations: 267.6 kB / 454.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.5985, allocations: 0.6861 MB / 455.5 MB, free: 4.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5985, allocations: 4 kB / 455.5 MB, free: 4.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.5991, allocations: 92 kB / 455.6 MB, free: 4.297 MB / 362.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.0002567/0.5994, allocations: 145.5 kB / 455.8 MB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.6008, allocations: 0.9053 MB / 456.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.6008, allocations: 0 / 456.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.6018, allocations: 0.7569 MB / 457.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.603, allocations: 239.9 kB / 457.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.6055, allocations: 1.064 MB / 458.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.6064, allocations: 0.9634 MB / 459.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.6068, allocations: 89.08 kB / 459.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.6069, allocations: 43.36 kB / 459.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.788e-06/0.6069, allocations: 0 / 459.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of Templates: time 0.02443/0.6314, allocations: 11.91 MB / 471.7 MB, free: 3.766 MB / 378.7 MB