Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001057/0.001057, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.001028/0.001028, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.238/1.238, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 47.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06858/0.06975, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1675/0.2372, allocations: 30.23 MB / 406.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.2537, allocations: 8.644 MB / 414.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.2574, allocations: 166 kB / 414.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.2679, allocations: 4.9 MB / 419.8 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007491/0.2754, allocations: 2.949 MB / 422.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.2788, allocations: 1.613 MB / 424.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008584/0.2874, allocations: 8.726 MB / 433.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0132/0.3006, allocations: 12.83 MB / 445.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.3054, allocations: 4.226 MB / 450.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.3103, allocations: 4.741 MB / 454.9 MB, free: 500 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.3117, allocations: 1.164 MB / 456 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.3142, allocations: 1.519 MB / 457.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.3159, allocations: 2.408 MB / 460 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00409/0.32, allocations: 4.673 MB / 464.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3326, allocations: 15.73 MB / 480.4 MB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3326, allocations: 0 / 480.4 MB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3326, allocations: 0 / 480.4 MB, free: 6.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001698/0.3328, allocations: 0 / 480.4 MB, free: 6.926 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02105/0.3538, allocations: 9.759 MB / 490.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3539, allocations: 8.031 kB / 490.1 MB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/0.3826, allocations: 5.278 MB / 495.4 MB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007824/0.3904, allocations: 4.695 MB / 0.4884 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.3907, allocations: 0.5299 MB / 0.4889 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.3919, allocations: 0.7068 MB / 0.4896 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.4093, allocations: 11.31 MB / 0.5006 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.4095, allocations: 15.91 kB / 0.5007 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007449/0.4102, allocations: 300 kB / 0.5009 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/0.4106, allocations: 450.9 kB / 0.5014 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.4278, allocations: 10.81 MB / 0.5119 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04926/0.4771, allocations: 37.58 MB / 0.5486 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1698/0.6469, allocations: 28.09 MB / 0.5761 GB, free: 115.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/0.6514, allocations: 2.668 MB / 0.5787 GB, free: 115.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.6645, allocations: 7.906 MB / 0.5864 GB, free: 111.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6645, allocations: 62.98 kB / 0.5864 GB, free: 111.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 3.947e-06/0.6645, allocations: 0 / 0.5864 GB, free: 111.6 MB / 478.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