Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00146/0.00146, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001396/0.001397, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.606e-05, allocations: 6.219 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00264/0.002674, allocations: 1.802 MB / 329 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.00464, allocations: 0.9838 MB / 330 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.004723, allocations: 0 / 330 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.004876, allocations: 27.72 kB / 330 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.00497, allocations: 39.66 kB / 330 MB, free: 484 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.005298, allocations: 95.81 kB / 330.1 MB, free: 388 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.005671, allocations: 347.3 kB / 330.5 MB, free: 40 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.00585, allocations: 57.72 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.006513, allocations: 0.7135 MB / 331.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.006713, allocations: 147.4 kB / 331.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.006775, allocations: 20 kB / 331.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.006828, allocations: 24 kB / 331.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003186/0.007154, allocations: 368.2 kB / 331.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001101/0.00727, allocations: 181.2 kB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.007336, allocations: 39.88 kB / 332 MB, free: 14.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.966e-05/0.007361, allocations: 7.938 kB / 332 MB, free: 14.49 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.001024/0.00839, allocations: 1.04 MB / 333 MB, free: 13.35 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001613/0.008557, allocations: 110.1 kB / 333.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0007264/0.009291, allocations: 0.7186 MB / 333.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simplify1: time 2.868e-05/0.009327, allocations: 11.92 kB / 333.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of Alias: time 0.0007559/0.01009, allocations: 0.6726 MB / 334.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simplify2: time 1.407e-05/0.01011, allocations: 7.984 kB / 334.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of Events: time 0.0003744/0.01049, allocations: 234.5 kB / 334.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004202/0.01092, allocations: 366.6 kB / 335.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002513/0.01118, allocations: 227.3 kB / 335.4 MB, free: 10.88 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [DISC] (1) protected discrete Real bUF3S1.inertialDelaySensitive.t_next slice: {} [DISC] (1) protected Integer bUF3S2.inertialDelaySensitive.lh slice: {} [DISC] (1) protected Integer bUF3S1.inertialDelaySensitive.lh slice: {} [DISC] (1) protected discrete Real bUF3S2.inertialDelaySensitive.t_next slice: {} (2|4) Unmatched Equations *************************** [ALGO] (6) ($RES_SIM_5) [----] when {initial(), ((bUF3S2.inertialDelaySensitive.tLH > 0.0 or bUF3S2.inertialDelaySensitive.tHL > 0.0) and change(bUF3S2.inertialDelaySensitive.x)) and not initial()} then [----] bUF3S2.inertialDelaySensitive.y_old := if initial() or $PRE.bUF3S2.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then bUF3S2.inertialDelaySensitive.y0 else $PRE.bUF3S2.inertialDelaySensitive.y; [----] bUF3S2.inertialDelaySensitive.lh := ({{0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}})[bUF3S2.inertialDelaySensitive.y_old, bUF3S2.inertialDelaySensitive.x]; [----] bUF3S2.inertialDelaySensitive.delayTime := if bUF3S2.inertialDelaySensitive.lh > 0 then bUF3S2.inertialDelaySensitive.tLH else if bUF3S2.inertialDelaySensitive.lh < 0 then bUF3S2.inertialDelaySensitive.tHL else 0.0; [----] bUF3S2.inertialDelaySensitive.t_next := time + bUF3S2.inertialDelaySensitive.delayTime; [----] if bUF3S2.inertialDelaySensitive.lh == 0 or $FUN_1 < 1e-60 then [----] bUF3S2.inertialDelaySensitive.y_auxiliary := bUF3S2.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= bUF3S2.inertialDelaySensitive.t_next then [----] bUF3S2.inertialDelaySensitive.y_auxiliary := bUF3S2.inertialDelaySensitive.x; [----] end when; [----] bUF3S2.inertialDelaySensitive.y := if bUF3S2.inertialDelaySensitive.tLH > 0.0 or bUF3S2.inertialDelaySensitive.tHL > 0.0 then bUF3S2.inertialDelaySensitive.y_auxiliary else bUF3S2.inertialDelaySensitive.x; slice: {4, 5} [ALGO] (6) ($RES_SIM_1) [----] when {initial(), ((bUF3S1.inertialDelaySensitive.tLH > 0.0 or bUF3S1.inertialDelaySensitive.tHL > 0.0) and change(bUF3S1.inertialDelaySensitive.x)) and not initial()} then [----] bUF3S1.inertialDelaySensitive.y_old := if initial() or $PRE.bUF3S1.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then bUF3S1.inertialDelaySensitive.y0 else $PRE.bUF3S1.inertialDelaySensitive.y; [----] bUF3S1.inertialDelaySensitive.lh := ({{0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}})[bUF3S1.inertialDelaySensitive.y_old, bUF3S1.inertialDelaySensitive.x]; [----] bUF3S1.inertialDelaySensitive.delayTime := if bUF3S1.inertialDelaySensitive.lh > 0 then bUF3S1.inertialDelaySensitive.tLH else if bUF3S1.inertialDelaySensitive.lh < 0 then bUF3S1.inertialDelaySensitive.tHL else 0.0; [----] bUF3S1.inertialDelaySensitive.t_next := time + bUF3S1.inertialDelaySensitive.delayTime; [----] if bUF3S1.inertialDelaySensitive.lh == 0 or $FUN_2 < 1e-60 then [----] bUF3S1.inertialDelaySensitive.y_auxiliary := bUF3S1.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= bUF3S1.inertialDelaySensitive.t_next then [----] bUF3S1.inertialDelaySensitive.y_auxiliary := bUF3S1.inertialDelaySensitive.x; [----] end when; [----] bUF3S1.inertialDelaySensitive.y := if bUF3S1.inertialDelaySensitive.tLH > 0.0 or bUF3S1.inertialDelaySensitive.tHL > 0.0 then bUF3S1.inertialDelaySensitive.y_auxiliary else bUF3S1.inertialDelaySensitive.x; slice: {4, 5}