Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.00122/0.00122, 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.001128/0.001128, 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.22e-05, allocations: 2.281 kB / 327.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002462/0.002492, allocations: 1.52 MB / 328.7 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004282, allocations: 0.8818 MB / 329.6 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.004346, allocations: 4 kB / 329.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.004441, allocations: 7.922 kB / 329.6 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.004566, allocations: 19.8 kB / 329.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.004821, allocations: 47.89 kB / 329.7 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.005064, allocations: 171.7 kB / 329.8 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005181, allocations: 24 kB / 329.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.005581, allocations: 391.2 kB / 330.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.005702, allocations: 63.75 kB / 330.3 MB, free: 232 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.005742, allocations: 8 kB / 330.3 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.005774, allocations: 12 kB / 330.3 MB, free: 212 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001664/0.005945, allocations: 162.3 kB / 330.5 MB, free: 48 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 6.275e-05/0.006014, allocations: 86.7 kB / 330.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.006053, allocations: 12 kB / 330.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.706e-05/0.006076, allocations: 7.938 kB / 330.6 MB, free: 15.94 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.000629/0.006709, allocations: 0.5508 MB / 331.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.432e-05/0.00681, allocations: 59.91 kB / 331.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003697/0.007187, allocations: 352.1 kB / 331.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simplify1: time 7.964e-06/0.007203, allocations: 8 kB / 331.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of Alias: time 0.0004695/0.007677, allocations: 362.3 kB / 331.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simplify2: time 3.667e-06/0.007691, allocations: 3.984 kB / 331.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of Events: time 0.0002046/0.0079, allocations: 103.7 kB / 332 MB, free: 14.32 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002255/0.008134, allocations: 195.2 kB / 332.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of Partitioning: time 0.00014/0.008282, allocations: 100.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}