Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.001147/0.001147, allocations: 187 kB / 18.68 MB, free: 4.406 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009679/0.0009679, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2155, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009252/0.2248, allocations: 8.996 MB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.2293, allocations: 3.159 MB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.2299, allocations: 43.81 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.2312, allocations: 0.7184 MB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2326, allocations: 0.7379 MB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.2332, allocations: 323.5 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.235, allocations: 2.109 MB / 417.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.2365, allocations: 1.414 MB / 418.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009297/0.2374, allocations: 0.9226 MB / 419.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.2386, allocations: 1.121 MB / 420.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.2389, allocations: 228 kB / 421.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.2395, allocations: 331.8 kB / 421.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.2401, allocations: 0.6739 MB / 422.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008957/0.241, allocations: 1.081 MB / 423.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.2435, allocations: 3.1 MB / 426.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2435, allocations: 0 / 426.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2435, allocations: 0 / 426.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.189e-05/0.2435, allocations: 0 / 426.3 MB, free: 15.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003872/0.2474, allocations: 2.273 MB / 428.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2475, allocations: 8.031 kB / 428.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.248, allocations: 226.5 kB / 428.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.25, allocations: 1.219 MB / 430.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.2501, allocations: 115.5 kB / 430.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.2503, allocations: 155.9 kB / 430.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.2532, allocations: 2 MB / 432.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.2533, allocations: 15.84 kB / 432.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.2534, allocations: 68 kB / 432.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-05/0.2535, allocations: 74.91 kB / 432.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.2561, allocations: 1.647 MB / 434.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008538/0.2646, allocations: 6.893 MB / 441 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.2653, allocations: 441.1 kB / 441.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.2657, allocations: 269.9 kB / 441.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.266, allocations: 121.5 kB / 441.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.266, allocations: 39 kB / 441.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.266, allocations: 0 / 441.9 MB, free: 15.7 MB / 366.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.airGap.RotationMatrix[2,2] * smpm.idq_sr[1] - smpm.airGap.RotationMatrix[2,1] * smpm.idq_sr[2] [/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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad could not be translated