Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 103.7 kB / 18.41 MB, free: 4.645 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.001673/0.001673, allocations: 191 kB / 19.35 MB, free: 3.723 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.539/1.539, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.242e-05/4.26e-05, allocations: 6.219 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005871/0.005922, allocations: 4.297 MB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.009198, allocations: 1.626 MB / 335.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.009562, allocations: 11.94 kB / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.009988, allocations: 122.9 kB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.0109, allocations: 361.6 kB / 335.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.01143, allocations: 227.7 kB / 335.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.01251, allocations: 1.095 MB / 336.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.01289, allocations: 241.4 kB / 337.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.01334, allocations: 374.8 kB / 337.5 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.01381, allocations: 430.2 kB / 337.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.01394, allocations: 96 kB / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.01434, allocations: 219.9 kB / 338.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001102/0.01546, allocations: 1.342 MB / 339.6 MB, free: 8.883 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006031/0.01607, allocations: 0.7393 MB / 340.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.01624, allocations: 127.6 kB / 340.4 MB, free: 8.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001793/0.01643, allocations: 31.88 kB / 340.5 MB, free: 7.977 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: 138 (137) * Number of variables: 138 (138) Notification: Performance of Bindings: time 0.003704/0.02014, allocations: 3.724 MB / 344.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004585/0.02061, allocations: 370.9 kB / 344.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001886/0.0225, allocations: 1.799 MB / 346.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of simplify1: time 0.000199/0.02271, allocations: 159.8 kB / 346.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of Alias: time 0.005288/0.02801, allocations: 3.474 MB / 350 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002251/0.0283, allocations: 111.9 kB / 350.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Events: time 0.0003501/0.02866, allocations: 208.3 kB / 350.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006883/0.02936, allocations: 447.5 kB / 350.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006749/0.03005, allocations: 0.5427 MB / 351.3 MB, free: 12.62 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) Real transformer.LossPowerStat slice: {} [ALGB] (1) protected Real transformer.core.dHyst slice: {} [ALGB] (1) Real transformer.core.derHstat = der(transformer.Hstat) (start = 0.0) slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) transformer.winding1.V_m = transformer.core.port_p.V_m ($RES_SIM_81) slice: {} [SCAL] (1) -(transformer.core.H3 + transformer.core.mat.Hc) = if $SEV_1 then -transformer.core.mat.Hsat else if $SEV_2 then transformer.core.mat.Hsat else transformer.Hstat ($RES_SIM_46) slice: {} [SCAL] (1) $FUN_13 = exp(-transformer.core.mat.p2 * transformer.core.H3) ($RES_$AUX_149) slice: {}