Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 114.5 kB / 17.75 MB, free: 5.336 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.001031/0.001031, allocations: 183.1 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.434e-05, allocations: 4.391 kB / 351.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006924/0.00696, allocations: 4.641 MB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.01098, allocations: 1.682 MB / 358.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.01169, allocations: 23.94 kB / 358.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008358/0.01253, allocations: 266.3 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.01456, allocations: 0.7191 MB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.01523, allocations: 219.4 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002575/0.01781, allocations: 1.983 MB / 361.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.01877, allocations: 0.6957 MB / 362.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.01991, allocations: 0.6856 MB / 362.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.02135, allocations: 0.7205 MB / 363.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.02172, allocations: 103.9 kB / 363.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.02255, allocations: 247.9 kB / 363.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00172/0.02428, allocations: 1.583 MB / 365.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001075/0.02536, allocations: 1.066 MB / 366.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.02578, allocations: 123.6 kB / 366.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001771/0.02596, allocations: 16 kB / 366.7 MB, free: 4.453 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: 344 (158) * Number of variables: 344 (144) Notification: Performance of Bindings: time 0.2081/0.234, allocations: 5.676 MB / 372.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004502/0.2345, allocations: 294.5 kB / 372.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003172/0.2377, allocations: 3.087 MB / 375.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001713/0.2379, allocations: 111.5 kB / 375.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Alias: time 0.002078/0.2399, allocations: 1.956 MB / 377.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001182/0.2401, allocations: 115.7 kB / 377.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006884/0.2408, allocations: 0.6842 MB / 378.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of Events: time 0.0003931/0.2412, allocations: 371 kB / 379 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001117/0.2423, allocations: 1.07 MB / 380 MB, free: 12.18 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(9) {converter_m.singlePhaseElectroMagneticConverter[1].port_p.Phi.re, converter_m.singlePhaseElectroMagneticConverter[2].port_p.Phi.re, converter_m.singlePhaseElectroMagneticConverter[3].port_p.Phi.re}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: converter_m.singlePhaseElectroMagneticConverter.port_p.Phi.re. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (6) ($RES_SIM_20) [----] for $i1 in 1:3 loop [----] [RECD] (2) converter_m.singlePhaseElectroMagneticConverter[$i1].port_p.Phi = converter_m.singlePhaseElectroMagneticConverter[$i1].Phi ($RES_SIM_21) [----] end for;