Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 115.2 kB / 17.75 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 190 kB / 18.69 MB, free: 4.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.444e-05, allocations: 2.281 kB / 351.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003737/0.00378, allocations: 1.806 MB / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.006029, allocations: 0.9548 MB / 354.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.006217, allocations: 4 kB / 354.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.006418, allocations: 19.78 kB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.006631, allocations: 39.66 kB / 354.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.007156, allocations: 98.19 kB / 354.8 MB, free: 380 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000631/0.007796, allocations: 343.4 kB / 355.2 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.008026, allocations: 45.78 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.009116, allocations: 0.7602 MB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.009414, allocations: 143.5 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.983e-05/0.009522, allocations: 20 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.009627, allocations: 20 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003593/0.009992, allocations: 356.3 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002143/0.01021, allocations: 185.2 kB / 356.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.01032, allocations: 35.94 kB / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.316e-05/0.01037, allocations: 15.88 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 (21) * Number of variables: 33 (31) Notification: Performance of Bindings: time 0.001536/0.01191, allocations: 1.036 MB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.919e-05/0.01194, allocations: 11.92 kB / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008421/0.01279, allocations: 0.7147 MB / 358.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simplify1: time 3.468e-05/0.01283, allocations: 7.938 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Alias: time 0.0009908/0.01383, allocations: 0.6833 MB / 359.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simplify2: time 1.362e-05/0.01385, allocations: 0 / 359.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004866/0.01435, allocations: 367.9 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Events: time 0.0004079/0.01476, allocations: 247.8 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000323/0.0151, allocations: 208 kB / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006272/0.01573, allocations: 439.1 kB / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008877/0.01663, allocations: 0.6913 MB / 361.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of Inline: time 0.001377/0.01802, allocations: 1.183 MB / 362.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of Partitioning: time 4.722e-05/0.01807, allocations: 41.25 kB / 362.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001778/0.01826, allocations: 95.94 kB / 362.4 MB, free: 8.438 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) bUF3S1.inertialDelaySensitive.y_old = bUF3S1.inertialDelaySensitive.y0 ($RES_SRT_31) slice: {}; [SCAL] (1) bUF3S1.inertialDelaySensitive.y_auxiliary = bUF3S1.inertialDelaySensitive.y0 ($RES_SRT_30) slice: {}; [SCAL] (1) bUF3S1.inertialDelaySensitive.x = $START.bUF3S1.inertialDelaySensitive.x ($RES_SRT_28) slice: {}; [SCAL] (1) bUF3S2.inertialDelaySensitive.y_old = bUF3S2.inertialDelaySensitive.y0 ($RES_SRT_27) slice: {}; [SCAL] (1) bUF3S2.inertialDelaySensitive.y_auxiliary = bUF3S2.inertialDelaySensitive.y0 ($RES_SRT_26) slice: {}; [SCAL] (1) bUF3S2.inertialDelaySensitive.x = $START.bUF3S2.inertialDelaySensitive.x ($RES_SRT_24) slice: {}; Notification: Performance of Causalize: time 0.001635/0.0199, allocations: 1.238 MB / 363.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of Tearing: time 1.231e-05/0.01992, allocations: 3.938 kB / 363.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Initialization: time 6.61e-07/0.01993, allocations: 0 / 363.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Tearing: time 4.218e-06/0.01994, allocations: 0 / 363.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Categorize: time 8.546e-06/0.01995, allocations: 4 kB / 363.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Solve: time 0.0001069/0.02006, allocations: 31.98 kB / 363.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of Jacobian: time 5.841e-06/0.02008, allocations: 4 kB / 363.7 MB, free: 7.117 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 28 (26) {e_table2.y, x_table2.y, bUF3S2.nextstate, 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.inertialDelaySensitive.x, bUF3S1.inertialDelaySensitive.y, bUF3S1.inertialDelaySensitive.delayTime, bUF3S1.inertialDelaySensitive.y_auxiliary, bUF3S1.inertialDelaySensitive.y_old, bUF3S1.inertialDelaySensitive.lh, bUF3S1.inertialDelaySensitive.t_next, wiredX.x, wiredX.y, wiredX.auxiliary, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:14, array:1, record:0) * Number of multi strong components: ............ 8 (algorithm:8, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.904e-05/0.02015, allocations: 41.89 kB / 363.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of SimCode: time 0.002933/0.02308, allocations: 3.429 MB / 367.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of Templates: time 0.1744/0.1975, allocations: 4.424 MB / 371.6 MB, free: 20.88 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)