Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 102.3 kB / 18.41 MB, free: 4.664 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.001169/0.001169, allocations: 185.5 kB / 19.35 MB, free: 3.738 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.476/1.476, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.45e-05, allocations: 7.203 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004391/0.004437, allocations: 2.001 MB / 331.2 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.00601, allocations: 0.6165 MB / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.006171, allocations: 0 / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.006264, allocations: 19.84 kB / 331.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.0065, allocations: 47.56 kB / 331.9 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.006927, allocations: 83.83 kB / 331.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.007245, allocations: 207.2 kB / 332.1 MB, free: 356 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.007427, allocations: 53.47 kB / 332.2 MB, free: 300 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.007672, allocations: 87.69 kB / 332.3 MB, free: 212 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.007819, allocations: 75.62 kB / 332.4 MB, free: 136 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.007869, allocations: 16 kB / 332.4 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.062e-05/0.007915, allocations: 16 kB / 332.4 MB, free: 104 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.000233/0.008153, allocations: 245.6 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.543e-05/0.008245, allocations: 137.9 kB / 332.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.008299, allocations: 19.94 kB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.635e-05/0.008342, allocations: 4 kB / 332.8 MB, free: 15.7 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: 23 (23) * Number of variables: 23 (23) Notification: Performance of Bindings: time 0.0007743/0.009121, allocations: 0.7556 MB / 333.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001661/0.009293, allocations: 74.92 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003437/0.009644, allocations: 344.1 kB / 333.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplify1: time 6.321e-05/0.009715, allocations: 35.95 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of Alias: time 0.0008631/0.01059, allocations: 0.5968 MB / 334.6 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simplify2: time 4.682e-05/0.01064, allocations: 23.97 kB / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001623/0.01081, allocations: 104 kB / 334.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of Events: time 0.0001239/0.01094, allocations: 55.89 kB / 334.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001466/0.0111, allocations: 116.3 kB / 334.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of Causalize: time 0.0004601/0.01157, allocations: 380.7 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002572/0.01183, allocations: 268.2 kB / 335.5 MB, free: 12.67 MB / 286.1 MB Notification: Performance of Inline: time 0.0005733/0.01241, allocations: 0.4979 MB / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of Partitioning: time 5.636e-05/0.01248, allocations: 42.36 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of Cleanup: time 3.982e-05/0.01252, allocations: 23.97 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of Causalize: time 0.001898/0.01443, allocations: 1.441 MB / 337.5 MB, free: 10.61 MB / 286.1 MB Error: Internal error NBTearing.minimal failed. (2|2) Discrete Variables ************************** [PRMT] (1) protected parameter Real SaturatingInductance1.Ipar (fixed = false, start = SaturatingInductance1.Inom / 10.0) [PRMT] (1) Real $FUN_4 (fixed = false) (0|0) Discrete Equations ************************** Error: Internal error NBInitialization.main failed to apply modules!