Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 207.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 68.11 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2059, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03062/0.2365, allocations: 30.98 MB / 440.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.252, allocations: 8.884 MB / 449.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.256, allocations: 187.4 kB / 450 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.2669, allocations: 4.988 MB / 455 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007707/0.2746, allocations: 3.054 MB / 458.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.2784, allocations: 1.616 MB / 459.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009258/0.2877, allocations: 8.824 MB / 468.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/0.3029, allocations: 12.85 MB / 481.3 MB, free: 9.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.3078, allocations: 4.25 MB / 485.6 MB, free: 5.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006312/0.3142, allocations: 4.831 MB / 490.4 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002101/0.3163, allocations: 1.164 MB / 491.6 MB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.3192, allocations: 1.539 MB / 493.1 MB, free: 14.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.321, allocations: 2.412 MB / 495.5 MB, free: 11.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.3253, allocations: 4.68 MB / 0.4885 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.3387, allocations: 15.89 MB / 0.504 GB, free: 7.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3388, allocations: 0 / 0.504 GB, free: 7.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3388, allocations: 0 / 0.504 GB, free: 7.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.339, allocations: 0 / 0.504 GB, free: 7.027 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02119/0.3602, allocations: 9.975 MB / 0.5138 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3602, allocations: 8.031 kB / 0.5138 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02863/0.3888, allocations: 5.321 MB / 0.519 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.3992, allocations: 5.126 MB / 0.524 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/0.3997, allocations: 0.5338 MB / 0.5245 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.4019, allocations: 0.703 MB / 0.5252 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/0.4248, allocations: 11.32 MB / 0.5362 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/0.425, allocations: 15.95 kB / 0.5362 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001354/0.4264, allocations: 300 kB / 0.5365 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/0.4268, allocations: 443 kB / 0.537 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1862/0.613, allocations: 10.83 MB / 0.5475 GB, free: 112.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04059/0.6537, allocations: 38.56 MB / 0.5852 GB, free: 83.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.6661, allocations: 28.3 MB / 0.6128 GB, free: 51.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.6691, allocations: 2.679 MB / 0.6154 GB, free: 48.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/0.6791, allocations: 8.446 MB / 0.6237 GB, free: 40.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.6792, allocations: 60.5 kB / 0.6238 GB, free: 40.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.326e-06/0.6792, allocations: 0 / 0.6238 GB, free: 40.38 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = smpm.stator.core.Phi.im * smpm.airGap.rotator.re - smpm.stator.core.Phi.re * smpm.airGap.rotator.im [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit could not be translated