Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 115.7 kB / 18.47 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 209.1 kB / 19.42 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.113e-05, allocations: 6.219 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005364/0.005413, allocations: 4.373 MB / 363.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.008018, allocations: 1.648 MB / 365.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.008314, allocations: 11.94 kB / 365.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.008696, allocations: 130.9 kB / 365.5 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.009474, allocations: 353.6 kB / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.009968, allocations: 247.6 kB / 366.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01108, allocations: 1.092 MB / 367.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/0.01151, allocations: 241.3 kB / 367.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.01202, allocations: 378.7 kB / 367.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.01247, allocations: 430.2 kB / 368.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.01261, allocations: 96 kB / 368.3 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.013, allocations: 231.9 kB / 368.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001029/0.01403, allocations: 1.33 MB / 369.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004564/0.0145, allocations: 0.7508 MB / 370.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.01465, allocations: 127.6 kB / 370.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001436/0.0148, allocations: 31.94 kB / 370.8 MB, free: 1.477 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 (137) * Number of variables: 138 (138) Notification: Performance of Bindings: time 0.2199/0.2347, allocations: 3.73 MB / 374.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000381/0.2351, allocations: 359.3 kB / 374.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001831/0.2369, allocations: 2.076 MB / 376.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002249/0.2372, allocations: 166 kB / 377.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Alias: time 0.003764/0.2409, allocations: 3.464 MB / 380.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001319/0.2411, allocations: 115.5 kB / 380.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Events: time 0.0002486/0.2413, allocations: 204.6 kB / 380.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Detect States: time 0.000512/0.2419, allocations: 453 kB / 381.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000551/0.2424, allocations: 0.5467 MB / 381.8 MB, free: 10.13 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_12 = exp(-transformer.core.mat.p2 * transformer.core.H3) ($RES_$AUX_149) slice: {}