Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001265/0.001265, allocations: 108.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.001151/0.001151, allocations: 189.5 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.197/1.197, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.844e-05, allocations: 2.281 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002326/0.002352, allocations: 1.81 MB / 329 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.004144, allocations: 0.9799 MB / 330 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.004218, allocations: 3.938 kB / 330 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.004349, allocations: 23.78 kB / 330 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.004443, allocations: 35.66 kB / 330 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.004748, allocations: 99.81 kB / 330.1 MB, free: 396 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.005094, allocations: 347.3 kB / 330.5 MB, free: 48 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.005254, allocations: 57.72 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.005916, allocations: 0.7173 MB / 331.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.006122, allocations: 147.4 kB / 331.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.006184, allocations: 20 kB / 331.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.006235, allocations: 20 kB / 331.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003012/0.006542, allocations: 364.3 kB / 331.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000109/0.006657, allocations: 185.2 kB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.006719, allocations: 35.88 kB / 332 MB, free: 14.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.082e-05/0.006745, allocations: 7.938 kB / 332 MB, free: 14.5 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.001165/0.007915, allocations: 1.044 MB / 333 MB, free: 13.36 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001593/0.008082, allocations: 114 kB / 333.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0007458/0.008835, allocations: 0.7186 MB / 333.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplify1: time 2.96e-05/0.008872, allocations: 11.98 kB / 333.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of Alias: time 0.0008344/0.009712, allocations: 0.6726 MB / 334.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simplify2: time 1.7e-05/0.009741, allocations: 11.98 kB / 334.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of Events: time 0.0003855/0.01013, allocations: 230.4 kB / 334.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004737/0.01061, allocations: 370.6 kB / 335.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003028/0.01093, allocations: 227.1 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}