Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00162/0.00162, allocations: 107.2 kB / 19.05 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 207.8 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.204/1.204, allocations: 230.4 MB / 251.3 MB, free: 8.672 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.277e-05, allocations: 4.812 kB / 368.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.002355/0.002368, allocations: 1.819 MB / 370.7 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.004289, allocations: 1.076 MB / 371.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.004351, allocations: 0 / 371.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.004486, allocations: 31.7 kB / 371.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.004761, allocations: 179.5 kB / 371.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.005037, allocations: 143.8 kB / 372.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006586/0.005696, allocations: 0.6202 MB / 372.7 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005832, allocations: 58.2 kB / 372.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.006848, allocations: 1.049 MB / 373.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.007111, allocations: 199.3 kB / 374 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.007184, allocations: 40 kB / 374 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.007252, allocations: 40 kB / 374.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003809/0.007633, allocations: 436 kB / 374.5 MB, free: 0.832 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001404/0.007774, allocations: 209 kB / 374.7 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.007855, allocations: 55.88 kB / 374.8 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-05/0.007878, allocations: 4 kB / 374.8 MB, free: 0.5664 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 (22) * Number of variables: 43 (28) Notification: Performance of Bindings: time 0.1222/0.1301, allocations: 1.053 MB / 375.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001116/0.1302, allocations: 120.5 kB / 375.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006442/0.1308, allocations: 0.7713 MB / 376.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0002862/0.1311, allocations: 244.1 kB / 376.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Alias: time 0.0007444/0.1319, allocations: 0.684 MB / 377.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.000224/0.1321, allocations: 226.9 kB / 377.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0002077/0.1323, allocations: 244.9 kB / 378.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003982/0.1327, allocations: 391.9 kB / 378.5 MB, free: 11.19 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for i, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.