Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_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.001306/0.001306, allocations: 107.3 kB / 18.41 MB, free: 4.754 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.001148/0.001148, allocations: 185.5 kB / 19.34 MB, free: 3.832 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.544/1.544, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.237e-05, allocations: 2.281 kB / 329.1 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005576/0.005621, allocations: 3.732 MB / 332.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.008223, allocations: 1.056 MB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.008893, allocations: 15.94 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005793/0.009485, allocations: 158.8 kB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.0109, allocations: 298.4 kB / 334.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.01147, allocations: 131.8 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.01363, allocations: 1.465 MB / 336 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007811/0.01443, allocations: 471.6 kB / 336.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.01555, allocations: 0.526 MB / 337 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.01698, allocations: 0.5296 MB / 337.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.0173, allocations: 72 kB / 337.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.0177, allocations: 72 kB / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00162/0.01933, allocations: 1.185 MB / 338.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.001113/0.02046, allocations: 0.8001 MB / 339.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.02081, allocations: 99.69 kB / 339.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001915/0.02101, allocations: 15.94 kB / 339.7 MB, free: 8.695 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.00572/0.02674, allocations: 3.92 MB / 343.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004303/0.02718, allocations: 183.6 kB / 343.8 MB, free: 4.469 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002288/0.02948, allocations: 1.713 MB / 345.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001287/0.02962, allocations: 55.91 kB / 345.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of Alias: time 0.002379/0.03201, allocations: 1.483 MB / 347.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001198/0.03215, allocations: 47.91 kB / 347.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of Detect States: time 0.0007265/0.03289, allocations: 494.1 kB / 347.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of Events: time 0.0004495/0.03335, allocations: 187 kB / 347.8 MB, free: 392 kB / 286.1 MB Notification: Performance of Partitioning: time 0.001062/0.03442, allocations: 0.7024 MB / 348.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Causalize: time 0.009633/0.04407, allocations: 6.6 MB / 355.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.002888/0.04701, allocations: 1.76 MB / 356.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of Inline: time 0.004598/0.05164, allocations: 3.361 MB / 360.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002202/0.05188, allocations: 143.7 kB / 360.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0003262/0.05222, allocations: 139.9 kB / 360.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of Causalize: time 0.01168/0.06391, allocations: 9.728 MB / 370.2 MB, free: 10.57 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!