Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001268/0.001269, allocations: 113 kB / 17.75 MB, free: 5.309 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.001375/0.001375, allocations: 184.7 kB / 18.68 MB, free: 4.387 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.315/1.315, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.29e-05, allocations: 9.031 kB / 328.5 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002455/0.002486, allocations: 1.52 MB / 330 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.004319, allocations: 0.8857 MB / 330.9 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.004374, allocations: 4 kB / 330.9 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.687e-05/0.004456, allocations: 7.922 kB / 330.9 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.004527, allocations: 19.8 kB / 330.9 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.00476, allocations: 51.88 kB / 331 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.004968, allocations: 167.7 kB / 331.1 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.005086, allocations: 27.98 kB / 331.2 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.005503, allocations: 387.3 kB / 331.6 MB, free: 276 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.005621, allocations: 59.77 kB / 331.6 MB, free: 216 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.005661, allocations: 8 kB / 331.6 MB, free: 208 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.005705, allocations: 12 kB / 331.6 MB, free: 196 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001473/0.005857, allocations: 158.3 kB / 331.8 MB, free: 36 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 6.253e-05/0.005925, allocations: 90.83 kB / 331.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.005962, allocations: 12 kB / 331.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-05/0.005982, allocations: 7.938 kB / 331.9 MB, free: 15.92 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.0005734/0.006562, allocations: 0.5547 MB / 332.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.57e-05/0.006653, allocations: 47.77 kB / 332.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003753/0.007035, allocations: 364.1 kB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simplify1: time 8.195e-06/0.007049, allocations: 4 kB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of Alias: time 0.0004258/0.007479, allocations: 366.3 kB / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplify2: time 2.324e-06/0.007491, allocations: 0 / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of Events: time 0.0002011/0.007696, allocations: 111.7 kB / 333.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002097/0.007914, allocations: 180 kB / 333.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001217/0.008043, allocations: 108.1 kB / 333.6 MB, free: 13.99 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}