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.001493/0.001493, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001675/0.001675, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.294/1.294, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001166/0.001166, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0668/0.06798, allocations: 46.62 MB / 375.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.157/0.2249, allocations: 30.23 MB / 406.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.2407, allocations: 8.647 MB / 414.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.2448, allocations: 164.9 kB / 414.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.2557, allocations: 4.962 MB / 419.9 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007581/0.2633, allocations: 3.019 MB / 422.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.2668, allocations: 1.62 MB / 424.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008528/0.2753, allocations: 8.715 MB / 433.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/0.2892, allocations: 12.84 MB / 446 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.2941, allocations: 4.226 MB / 450.3 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.2988, allocations: 4.749 MB / 455 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.3001, allocations: 1.16 MB / 456.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.3025, allocations: 1.519 MB / 457.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.3042, allocations: 2.408 MB / 460.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003979/0.3082, allocations: 4.665 MB / 464.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.3207, allocations: 15.74 MB / 480.5 MB, free: 6.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3208, allocations: 0 / 480.5 MB, free: 6.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3208, allocations: 0 / 480.5 MB, free: 6.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.3209, allocations: 0 / 480.5 MB, free: 6.938 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.02151/0.3424, allocations: 9.751 MB / 490.3 MB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3425, allocations: 8.031 kB / 490.3 MB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0299/0.3724, allocations: 5.282 MB / 495.5 MB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008383/0.3808, allocations: 4.687 MB / 0.4885 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.3811, allocations: 0.5338 MB / 0.489 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.3822, allocations: 0.7068 MB / 0.4897 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/0.4003, allocations: 11.31 MB / 0.5008 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.4005, allocations: 11.91 kB / 0.5008 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007916/0.4013, allocations: 304 kB / 0.5011 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003917/0.4017, allocations: 450.9 kB / 0.5015 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.418, allocations: 10.81 MB / 0.5121 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/0.4652, allocations: 37.58 MB / 0.5488 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1616/0.6269, allocations: 28.1 MB / 0.5762 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004049/0.6309, allocations: 2.663 MB / 0.5788 GB, free: 115.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.6434, allocations: 7.913 MB / 0.5865 GB, free: 111.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.6434, allocations: 61.03 kB / 0.5866 GB, free: 111.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 3.516e-06/0.6434, allocations: 0 / 0.5866 GB, free: 111.9 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