Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 107.3 kB / 18.4 MB, free: 4.676 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.001004/0.001004, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.27/1.27, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001217/0.001217, allocations: 51.94 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07388/0.07511, allocations: 46.61 MB / 375.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1589/0.2341, allocations: 8.968 MB / 384.8 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00495/0.2391, allocations: 3.207 MB / 388 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009091/0.24, allocations: 34.34 kB / 388 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.2415, allocations: 0.6653 MB / 388.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.243, allocations: 0.7002 MB / 389.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.2437, allocations: 331.6 kB / 389.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.2454, allocations: 2.097 MB / 391.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.2467, allocations: 1.408 MB / 393.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009732/0.2477, allocations: 0.9146 MB / 394.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.249, allocations: 1.126 MB / 395.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002832/0.2493, allocations: 230.9 kB / 395.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.2498, allocations: 318.5 kB / 395.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.2504, allocations: 0.6834 MB / 396.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000827/0.2513, allocations: 1.075 MB / 397.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.2539, allocations: 3.117 MB / 400.7 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2539, allocations: 0 / 400.7 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2539, allocations: 0.9375 kB / 400.7 MB, free: 1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.154e-05/0.2539, allocations: 4 kB / 400.7 MB, free: 0.9961 MB / 318.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.003712/0.2577, allocations: 2.261 MB / 402.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2577, allocations: 8.25 kB / 403 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.2583, allocations: 226.1 kB / 403.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.2602, allocations: 1.153 MB / 404.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.2603, allocations: 120.6 kB / 404.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.2605, allocations: 153.1 kB / 404.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.2637, allocations: 2.012 MB / 406.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.2637, allocations: 6.562 kB / 406.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.2639, allocations: 70.3 kB / 406.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-05/0.264, allocations: 74.39 kB / 406.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.2669, allocations: 1.649 MB / 408.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009588/0.2765, allocations: 6.891 MB / 415.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.2773, allocations: 459.7 kB / 415.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.2777, allocations: 259.5 kB / 416 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.2779, allocations: 120 kB / 416.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2779, allocations: 37.41 kB / 416.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.2779, allocations: 7.938 kB / 416.2 MB, free: 6.23 MB / 334.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.airGapR.RotationMatrix[2,2] * smpm.idq_sr[1] - smpm.airGapR.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.SynchronousInductionMachines.SMPM_NoLoad could not be translated