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.SMPM_OpenCircuit.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.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 106.6 kB / 17.74 MB, free: 5.324 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.001724/0.001725, allocations: 194.9 kB / 18.68 MB, free: 4.398 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000948/0.000948, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2075, allocations: 49.44 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02967/0.2372, allocations: 30.34 MB / 431.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.2519, allocations: 8.647 MB / 440.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.2557, allocations: 187.4 kB / 440.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.2664, allocations: 4.966 MB / 445.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007178/0.2736, allocations: 3.046 MB / 448.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.2772, allocations: 1.61 MB / 450.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008908/0.2861, allocations: 8.719 MB / 458.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.3011, allocations: 12.85 MB / 471.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/0.3059, allocations: 4.23 MB / 476 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0056/0.3115, allocations: 4.741 MB / 480.8 MB, free: 9.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.3129, allocations: 1.168 MB / 481.9 MB, free: 8.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.3153, allocations: 1.515 MB / 483.5 MB, free: 6.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.3171, allocations: 2.412 MB / 485.9 MB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004171/0.3213, allocations: 4.673 MB / 490.5 MB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.3342, allocations: 15.81 MB / 0.4945 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3342, allocations: 0 / 0.4945 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3342, allocations: 0 / 0.4945 GB, free: 15.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001704/0.3344, allocations: 0 / 0.4945 GB, free: 15.7 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.02181/0.3562, allocations: 9.736 MB / 0.504 GB, free: 5.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3562, allocations: 8.031 kB / 0.504 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02977/0.386, allocations: 5.282 MB / 0.5092 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.3965, allocations: 5.1 MB / 0.5141 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.397, allocations: 0.526 MB / 0.5146 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.3988, allocations: 0.7108 MB / 0.5153 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.4184, allocations: 11.32 MB / 0.5264 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.4186, allocations: 19.78 kB / 0.5264 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000789/0.4194, allocations: 300 kB / 0.5267 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004083/0.4198, allocations: 450.9 kB / 0.5271 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.4367, allocations: 10.82 MB / 0.5377 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2144/0.6511, allocations: 37.58 MB / 0.5744 GB, free: 97.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.6639, allocations: 28.11 MB / 0.6019 GB, free: 68.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.6669, allocations: 2.659 MB / 0.6044 GB, free: 65.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.6773, allocations: 7.896 MB / 0.6122 GB, free: 57.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.6773, allocations: 64.48 kB / 0.6122 GB, free: 57.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.297e-06/0.6773, allocations: 0 / 0.6122 GB, free: 57.68 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