Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.117e-05, allocations: 4 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2553, allocations: 38.76 MB / 263.7 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3643, allocations: 73.16 MB / 336.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3645, allocations: 67.97 kB / 337 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.317/0.6816, allocations: 43.61 MB / 380.6 MB, free: 89.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.64e-06/0.6816, allocations: 4 kB / 380.6 MB, free: 89.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.6817, allocations: 12.62 kB / 380.6 MB, free: 89.39 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.0008453/0.6825, allocations: 0.9416 MB / 381.5 MB, free: 88.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6826, allocations: 7 kB / 381.5 MB, free: 88.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.6827, allocations: 81.88 kB / 381.6 MB, free: 88.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.6832, allocations: 371.5 kB / 382 MB, free: 88.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.6833, allocations: 10.75 kB / 382 MB, free: 88.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.6834, allocations: 18.44 kB / 382 MB, free: 88.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.684, allocations: 299.1 kB / 382.3 MB, free: 88.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.684, allocations: 4.516 kB / 382.3 MB, free: 88.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.6841, allocations: 6.781 kB / 382.3 MB, free: 88.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-06/0.6841, allocations: 3.953 kB / 382.3 MB, free: 88.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.6845, allocations: 150 kB / 382.5 MB, free: 88.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.686, allocations: 0.7732 MB / 383.2 MB, free: 87.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.6864, allocations: 206.3 kB / 383.4 MB, free: 87.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.6868, allocations: 186.9 kB / 383.6 MB, free: 87.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.6868, allocations: 3.844 kB / 383.6 MB, free: 87.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006046/0.6875, allocations: 435.8 kB / 384.1 MB, free: 87.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.585e-06/0.6875, allocations: 0 / 384.1 MB, free: 87.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001545/0.689, allocations: 0.8631 MB / 384.9 MB, free: 86.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.6891, allocations: 282.3 kB / 385.2 MB, free: 86.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.6905, allocations: 0.8302 MB / 386 MB, free: 85.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.6906, allocations: 37.7 kB / 386.1 MB, free: 85.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.6907, allocations: 180.5 kB / 386.2 MB, free: 85.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6908, allocations: 66 kB / 386.3 MB, free: 85.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.6909, allocations: 8 kB / 386.3 MB, free: 85.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.6909, allocations: 326.6 kB / 386.6 MB, free: 85.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.6913, allocations: 147.1 kB / 386.8 MB, free: 85.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.6917, allocations: 162.7 kB / 386.9 MB, free: 84.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.6921, allocations: 358.6 kB / 387.3 MB, free: 84.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6921, allocations: 3.953 kB / 387.3 MB, free: 84.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001403/0.6935, allocations: 0.8071 MB / 388.1 MB, free: 83.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.6936, allocations: 247.8 kB / 388.3 MB, free: 83.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.715e-06/0.6937, allocations: 4.031 kB / 388.3 MB, free: 83.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6937, allocations: 3.938 kB / 388.3 MB, free: 83.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.6937, allocations: 7.844 kB / 388.4 MB, free: 83.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.05e-06/0.6938, allocations: 4 kB / 388.4 MB, free: 83.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.6941, allocations: 30.66 kB / 388.4 MB, free: 83.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.6944, allocations: 263.2 kB / 388.6 MB, free: 83.23 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.000283/0.6947, allocations: 392.6 kB / 389 MB, free: 82.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6948, allocations: 82.91 kB / 389.1 MB, free: 82.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.6952, allocations: 128.9 kB / 389.2 MB, free: 82.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-06/0.6952, allocations: 0 / 389.2 MB, free: 82.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.456e-06/0.6952, allocations: 0 / 389.2 MB, free: 82.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.766e-06/0.6952, allocations: 4 kB / 389.2 MB, free: 82.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.6975, allocations: 1.481 MB / 390.7 MB, free: 81.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-06/0.6976, allocations: 4 kB / 390.7 MB, free: 81.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.6976, allocations: 4 kB / 390.7 MB, free: 81.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.942e-06/0.6976, allocations: 7.844 kB / 390.7 MB, free: 81.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.6977, allocations: 43.97 kB / 390.8 MB, free: 80.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-06/0.6977, allocations: 0 / 390.8 MB, free: 80.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-06/0.6977, allocations: 0 / 390.8 MB, free: 80.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.6993, allocations: 1.031 MB / 391.8 MB, free: 79.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/0.7002, allocations: 419.8 kB / 392.2 MB, free: 79.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7003, allocations: 20 kB / 392.2 MB, free: 79.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.7007, allocations: 35.97 kB / 392.3 MB, free: 79.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.701, allocations: 71.92 kB / 392.3 MB, free: 79.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/0.7012, allocations: 271.7 kB / 392.6 MB, free: 79.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.7024, allocations: 0.6861 MB / 393.3 MB, free: 78.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.7024, allocations: 0 / 393.3 MB, free: 78.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.7029, allocations: 88 kB / 393.4 MB, free: 78.3 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.0002016/0.7032, allocations: 149.3 kB / 393.5 MB, free: 78.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.7043, allocations: 0.9013 MB / 394.4 MB, free: 77.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.98e-06/0.7043, allocations: 0 / 394.4 MB, free: 77.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.705, allocations: 0.757 MB / 395.2 MB, free: 76.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.706, allocations: 231.3 kB / 395.4 MB, free: 76.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.7084, allocations: 1.139 MB / 396.5 MB, free: 74.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.709, allocations: 0.9558 MB / 397.5 MB, free: 73.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.7092, allocations: 55.33 kB / 397.6 MB, free: 73.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.715e-06/0.7092, allocations: 0 / 397.6 MB, free: 73.87 MB / 314.7 MB Notification: Performance of Templates: time 0.01048/0.7197, allocations: 7.905 MB / 405.5 MB, free: 65.87 MB / 314.7 MB