Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 109.5 kB / 17.74 MB, free: 5.312 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.001195/0.001195, allocations: 188.2 kB / 18.68 MB, free: 4.387 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.202/1.202, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.626e-05, allocations: 2.281 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.1652/0.1652, allocations: 41.11 MB / 393.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.1864, allocations: 11.11 MB / 404.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007554/0.194, allocations: 296.5 kB / 404.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01564/0.2096, allocations: 7.891 MB / 412.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.2202, allocations: 3.581 MB / 416 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005423/0.2257, allocations: 2.272 MB / 418.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01442/0.2401, allocations: 13.35 MB / 431.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02354/0.2636, allocations: 18.87 MB / 450.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00895/0.2726, allocations: 5.715 MB / 456.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008202/0.2809, allocations: 6.105 MB / 462.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001916/0.2828, allocations: 1.312 MB / 463.6 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.2883, allocations: 2.701 MB / 466.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.01034/0.2986, allocations: 14.47 MB / 480.7 MB, free: 3.781 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.006848/0.3055, allocations: 9.182 MB / 489.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.3078, allocations: 1.204 MB / 491.1 MB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.001517/0.3093, allocations: 147.5 kB / 491.3 MB, free: 9.125 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3065 (1887) * Number of variables: 3259 (1567) Notification: Performance of Bindings: time 0.2244/0.5337, allocations: 61.04 MB / 0.5394 GB, free: 66.02 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.008052/0.5418, allocations: 7 MB / 0.5462 GB, free: 61.86 MB / 430.1 MB Notification: Performance of Early Inline: time 0.04002/0.5819, allocations: 39.87 MB / 0.5851 GB, free: 35.66 MB / 430.1 MB Notification: Performance of simplify1: time 0.002933/0.5848, allocations: 1.94 MB / 0.587 GB, free: 34.35 MB / 430.1 MB Notification: Performance of Alias: time 0.0316/0.6165, allocations: 33.71 MB / 0.62 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simplify2: time 0.001914/0.6184, allocations: 1.709 MB / 0.6216 GB, free: 5.449 MB / 430.1 MB Notification: Performance of Events: time 0.002841/0.6212, allocations: 4.15 MB / 0.6257 GB, free: 1.371 MB / 430.1 MB Notification: Performance of Detect States: time 0.007086/0.6283, allocations: 9.105 MB / 0.6346 GB, free: 8.348 MB / 446.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_9.im, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.