Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001461/0.001462, allocations: 113.4 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.001436/0.001437, allocations: 184.2 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.367e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006097/0.006131, allocations: 4.35 MB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.009346, allocations: 1.598 MB / 357.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.01, allocations: 11.94 kB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.01055, allocations: 126.8 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.01182, allocations: 365.6 kB / 358.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.0125, allocations: 227.7 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.01391, allocations: 1.095 MB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.01433, allocations: 241.4 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.01501, allocations: 382.6 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.01567, allocations: 422.3 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.0159, allocations: 92 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.01646, allocations: 235.9 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001174/0.01764, allocations: 1.334 MB / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005962/0.01825, allocations: 0.7393 MB / 363.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.01853, allocations: 135.6 kB / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001508/0.01869, allocations: 20 kB / 363.3 MB, free: 7.887 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: 138 (138) * Number of variables: 138 (138) Notification: Performance of Bindings: time 0.003789/0.02249, allocations: 3.739 MB / 367 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005039/0.023, allocations: 378.2 kB / 367.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002084/0.02509, allocations: 1.784 MB / 369.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002407/0.02534, allocations: 167.8 kB / 369.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of Alias: time 0.1944/0.2197, allocations: 3.474 MB / 372.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002782/0.22, allocations: 122.9 kB / 372.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007344/0.2208, allocations: 414.8 kB / 373.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of Events: time 0.0004687/0.2213, allocations: 198 kB / 373.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008837/0.2222, allocations: 0.556 MB / 374.1 MB, free: 16.69 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) Real transformer.LossPowerStat slice: {} [DER-] (1) Real $DER.transformer.core.hystF slice: {} [ALGB] (1) Real transformer.core.derHstat = der(transformer.Hstat) (start = 0.0) slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) $FUN_13 = exp(-transformer.core.mat.p2 * transformer.core.H3) ($RES_$AUX_150) slice: {} [SCAL] (1) transformer.winding1.V_m = transformer.core.port_p.V_m ($RES_SIM_82) 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_47) slice: {}