Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 104 kB / 18.41 MB, free: 4.645 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.001185/0.001185, allocations: 194.7 kB / 19.35 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.233e-05, allocations: 7.062 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003481/0.003521, allocations: 1.798 MB / 331 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.005868, allocations: 0.9838 MB / 332 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.005969, allocations: 0 / 332 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.006138, allocations: 23.73 kB / 332 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.006255, allocations: 39.64 kB / 332 MB, free: 484 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.006636, allocations: 91.83 kB / 332.1 MB, free: 392 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.007055, allocations: 355.3 kB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.007247, allocations: 57.73 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007859/0.00804, allocations: 0.7368 MB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.008276, allocations: 151.4 kB / 333.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.008344, allocations: 20 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.388e-05/0.008403, allocations: 24 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003453/0.008756, allocations: 360.3 kB / 333.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000121/0.008886, allocations: 185.2 kB / 334 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.008956, allocations: 35.88 kB / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.036e-05/0.008994, allocations: 7.938 kB / 334 MB, free: 14.46 MB / 286.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.001251/0.01025, allocations: 1.044 MB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of FunctionAlias: time 3.042e-05/0.01029, allocations: 11.95 kB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0008539/0.01115, allocations: 0.7147 MB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simplify1: time 3.522e-05/0.01119, allocations: 11.98 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of Alias: time 0.0009534/0.01215, allocations: 0.6754 MB / 336.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simplify2: time 1.414e-05/0.01218, allocations: 7.938 kB / 336.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of Events: time 0.0004432/0.01263, allocations: 246.5 kB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004979/0.01314, allocations: 375.8 kB / 337.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002605/0.01341, allocations: 210.9 kB / 337.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of Causalize: time 0.0005152/0.01393, allocations: 436.8 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000744/0.01468, allocations: 0.6951 MB / 338.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of Inline: time 0.00147/0.01616, allocations: 1.175 MB / 339.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of Partitioning: time 6.909e-05/0.01624, allocations: 41.23 kB / 339.6 MB, free: 8.523 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001193/0.01637, allocations: 91.91 kB / 339.7 MB, free: 8.434 MB / 286.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.00166/0.01804, allocations: 1.222 MB / 340.9 MB, free: 7.168 MB / 286.1 MB Notification: Performance of Tearing: time 1.374e-05/0.01807, allocations: 4 kB / 340.9 MB, free: 7.164 MB / 286.1 MB Notification: Performance of Initialization: time 6.22e-07/0.01807, allocations: 4 kB / 340.9 MB, free: 7.16 MB / 286.1 MB Notification: Performance of Tearing: time 4.98e-06/0.01808, allocations: 0 / 340.9 MB, free: 7.16 MB / 286.1 MB Notification: Performance of Categorize: time 1.511e-05/0.0181, allocations: 11.88 kB / 341 MB, free: 7.148 MB / 286.1 MB Notification: Performance of Solve: time 0.0001311/0.01824, allocations: 39.97 kB / 341 MB, free: 7.109 MB / 286.1 MB Notification: Performance of Jacobian: time 5.63e-06/0.01825, allocations: 0 / 341 MB, free: 7.109 MB / 286.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 7.099e-05/0.01833, allocations: 33.81 kB / 341 MB, free: 7.074 MB / 286.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable e_table2.y.