Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 113.1 kB / 17.75 MB, free: 5.312 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.001411/0.001411, allocations: 196.6 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.295/1.295, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/2.911e-05, allocations: 3.125 kB / 328.5 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004365/0.004404, allocations: 3.743 MB / 332.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.006303, allocations: 1.052 MB / 333.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.006517, allocations: 23.88 kB / 333.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.006829, allocations: 150.8 kB / 333.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007054/0.007574, allocations: 286.4 kB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.007825, allocations: 127.8 kB / 333.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.009199, allocations: 1.477 MB / 335.3 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.009763, allocations: 471.6 kB / 335.8 MB, free: 12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005404/0.01031, allocations: 0.5104 MB / 336.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.01092, allocations: 0.5296 MB / 336.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.664e-05/0.01102, allocations: 72 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.01115, allocations: 76 kB / 337 MB, free: 10.81 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008815/0.01203, allocations: 1.181 MB / 338.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005232/0.01257, allocations: 0.7962 MB / 339 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.01268, allocations: 111.7 kB / 339.1 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.772e-05/0.01274, allocations: 15.94 kB / 339.1 MB, free: 8.691 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: 285 (109) * Number of variables: 285 (103) Notification: Performance of Bindings: time 0.003588/0.01633, allocations: 3.905 MB / 343 MB, free: 4.66 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002348/0.01658, allocations: 187.6 kB / 343.2 MB, free: 4.477 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001555/0.01814, allocations: 1.713 MB / 344.9 MB, free: 2.738 MB / 286.1 MB Notification: Performance of simplify1: time 8.136e-05/0.01823, allocations: 59.84 kB / 344.9 MB, free: 2.68 MB / 286.1 MB Notification: Performance of Alias: time 0.00158/0.01982, allocations: 1.444 MB / 346.4 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simplify2: time 5.928e-05/0.01989, allocations: 43.92 kB / 346.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of Events: time 0.0002185/0.02012, allocations: 197.6 kB / 346.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004946/0.02062, allocations: 491.3 kB / 347.1 MB, free: 432 kB / 286.1 MB Notification: Performance of Partitioning: time 0.0007682/0.02139, allocations: 0.7102 MB / 347.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of Causalize: time 0.007705/0.02911, allocations: 8.562 MB / 356.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001656/0.03079, allocations: 1.752 MB / 358.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of Inline: time 0.003242/0.03405, allocations: 3.337 MB / 361.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001755/0.03424, allocations: 163.6 kB / 361.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001183/0.03436, allocations: 131.8 kB / 361.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of Causalize: time 0.009719/0.04409, allocations: 11.55 MB / 373.3 MB, free: 7 MB / 318.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_2[$i1] then [----] [SCAL] (1) deltaT2.plug_n.pin[$i1].i + deltaT2.plug_p.pin[$i1 + 1].i = 0.0 ($RES_SIM_58) [----] else [----] [SCAL] (1) deltaT2.plug_n.pin[$i1].i + deltaT2.plug_p.pin[1].i = 0.0 ($RES_SIM_59) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!