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.001302/0.001302, allocations: 116.9 kB / 17.76 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.001286/0.001286, allocations: 184.7 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.28e-05, allocations: 4.109 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2601/0.2601, allocations: 41.11 MB / 393.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02838/0.2885, allocations: 11.12 MB / 404.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.301, allocations: 297.1 kB / 404.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01949/0.3205, allocations: 7.934 MB / 412.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.3382, allocations: 3.672 MB / 416.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008299/0.3465, allocations: 2.268 MB / 418.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02202/0.3686, allocations: 13.35 MB / 431.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03434/0.4029, allocations: 18.87 MB / 450.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/0.4146, allocations: 5.719 MB / 456.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01208/0.4267, allocations: 6.094 MB / 462.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005341/0.4321, allocations: 1.316 MB / 463.7 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.4428, allocations: 2.708 MB / 466.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.02225/0.4651, allocations: 14.46 MB / 480.9 MB, free: 3.605 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.01008/0.4752, allocations: 9.187 MB / 490.1 MB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004955/0.4801, allocations: 1.2 MB / 491.3 MB, free: 9.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.002712/0.4829, allocations: 151.5 kB / 491.4 MB, free: 8.945 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.328/0.8109, allocations: 61.04 MB / 0.5395 GB, free: 66.11 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.009277/0.8202, allocations: 6.99 MB / 0.5463 GB, free: 61.94 MB / 430.1 MB Notification: Performance of Early Inline: time 0.05002/0.8703, allocations: 39.87 MB / 0.5853 GB, free: 35.74 MB / 430.1 MB Notification: Performance of simplify1: time 0.003955/0.8743, allocations: 1.934 MB / 0.5872 GB, free: 34.4 MB / 430.1 MB Notification: Performance of Alias: time 0.04511/0.9194, allocations: 33.72 MB / 0.6201 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simplify2: time 0.002718/0.9222, allocations: 1.704 MB / 0.6218 GB, free: 5.418 MB / 430.1 MB Notification: Performance of Detect States: time 0.0112/0.9334, allocations: 10.36 MB / 0.6319 GB, free: 11.13 MB / 446.1 MB Notification: Performance of Events: time 0.007941/0.9414, allocations: 3.584 MB / 0.6354 GB, free: 7.613 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.