Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.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.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.8 kB / 16.42 MB, free: 6.473 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.001316/0.001316, 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.258/1.258, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.516e-05, allocations: 6.219 kB / 327.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002123/0.002156, allocations: 1.51 MB / 328.7 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.003947, allocations: 0.8896 MB / 329.6 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.00401, allocations: 0 / 329.6 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.027e-05/0.004086, allocations: 11.86 kB / 329.6 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.004162, allocations: 19.84 kB / 329.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.004373, allocations: 51.89 kB / 329.7 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.004577, allocations: 163.7 kB / 329.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.004654, allocations: 24 kB / 329.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.005028, allocations: 391.2 kB / 330.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.005129, allocations: 59.78 kB / 330.3 MB, free: 232 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.005164, allocations: 8 kB / 330.3 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.005191, allocations: 8 kB / 330.3 MB, free: 216 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001428/0.005339, allocations: 170.2 kB / 330.5 MB, free: 44 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 6.106e-05/0.005406, allocations: 82.77 kB / 330.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.005444, allocations: 20 kB / 330.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.365e-05/0.005463, allocations: 3.938 kB / 330.6 MB, free: 15.93 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: 14 (8) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.000592/0.006059, allocations: 0.5508 MB / 331.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.629e-05/0.006152, allocations: 51.94 kB / 331.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003355/0.006495, allocations: 364.1 kB / 331.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplify1: time 6.292e-06/0.006509, allocations: 3.984 kB / 331.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of Alias: time 0.0004443/0.006959, allocations: 362.3 kB / 331.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of simplify2: time 2.484e-06/0.006971, allocations: 0 / 331.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of Events: time 0.000196/0.007171, allocations: 114.6 kB / 332 MB, free: 14.31 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002035/0.007383, allocations: 187.3 kB / 332.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001099/0.0075, allocations: 104.1 kB / 332.3 MB, free: 14.01 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DISC] (1) protected Integer iNV3S.inertialDelaySensitive.lh slice: {} [DISC] (1) protected discrete Real iNV3S.inertialDelaySensitive.t_next slice: {} (1|2) Unmatched Equations *************************** [ALGO] (6) ($RES_SIM_1) [----] when {initial(), ((iNV3S.inertialDelaySensitive.tLH > 0.0 or iNV3S.inertialDelaySensitive.tHL > 0.0) and change(iNV3S.inertialDelaySensitive.x)) and not initial()} then [----] iNV3S.inertialDelaySensitive.y_old := if initial() or $PRE.iNV3S.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then iNV3S.inertialDelaySensitive.y0 else $PRE.iNV3S.inertialDelaySensitive.y; [----] iNV3S.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}})[iNV3S.inertialDelaySensitive.y_old, iNV3S.inertialDelaySensitive.x]; [----] iNV3S.inertialDelaySensitive.delayTime := if iNV3S.inertialDelaySensitive.lh > 0 then iNV3S.inertialDelaySensitive.tLH else if iNV3S.inertialDelaySensitive.lh < 0 then iNV3S.inertialDelaySensitive.tHL else 0.0; [----] iNV3S.inertialDelaySensitive.t_next := time + iNV3S.inertialDelaySensitive.delayTime; [----] if iNV3S.inertialDelaySensitive.lh == 0 or $FUN_1 < 1e-60 then [----] iNV3S.inertialDelaySensitive.y_auxiliary := iNV3S.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= iNV3S.inertialDelaySensitive.t_next then [----] iNV3S.inertialDelaySensitive.y_auxiliary := iNV3S.inertialDelaySensitive.x; [----] end when; [----] iNV3S.inertialDelaySensitive.y := if iNV3S.inertialDelaySensitive.tLH > 0.0 or iNV3S.inertialDelaySensitive.tHL > 0.0 then iNV3S.inertialDelaySensitive.y_auxiliary else iNV3S.inertialDelaySensitive.x; slice: {4, 5}