Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001077, allocations: 195.4 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 226.5 MB / 245.3 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007827/0.0007828, allocations: 95.78 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002385, allocations: 11.98 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.257, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007063/0.2641, allocations: 7.97 MB / 416.7 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.2701, allocations: 3.01 MB / 419.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2718, allocations: 39.81 kB / 419.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.2734, allocations: 0.5437 MB / 420.3 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.2758, allocations: 0.6099 MB / 420.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.2766, allocations: 215.4 kB / 421.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.2787, allocations: 2.207 MB / 423.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.28, allocations: 1.18 MB / 424.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.2812, allocations: 0.708 MB / 425.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009875/0.2822, allocations: 0.9573 MB / 426.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.2823, allocations: 100 kB / 426.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.2829, allocations: 207.8 kB / 426.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.2834, allocations: 0.5295 MB / 427 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008148/0.2842, allocations: 0.9037 MB / 427.9 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.2858, allocations: 2.493 MB / 430.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2858, allocations: 4 kB / 430.4 MB, free: 5.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2858, allocations: 0 / 430.4 MB, free: 5.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.357e-05/0.2858, allocations: 0 / 430.4 MB, free: 5.93 MB / 298.7 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.0032/0.289, allocations: 1.933 MB / 432.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.2891, allocations: 12.03 kB / 432.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.2898, allocations: 230.5 kB / 432.5 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.2915, allocations: 1.184 MB / 433.7 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.2915, allocations: 119.4 kB / 433.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.2918, allocations: 155.8 kB / 434 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.2945, allocations: 1.996 MB / 436 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.031e-05/0.2945, allocations: 7.984 kB / 436 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.2947, allocations: 64 kB / 436.1 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-05/0.2948, allocations: 74.92 kB / 436.1 MB, free: 0 / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.2978, allocations: 1.639 MB / 437.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.3085, allocations: 6.979 MB / 444.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.3093, allocations: 444.9 kB / 445.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.3097, allocations: 262 kB / 445.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.31, allocations: 121.5 kB / 445.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.31, allocations: 39 kB / 445.6 MB, free: 6.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 4.569e-06/0.3101, allocations: 0 / 445.6 MB, free: 6.152 MB / 314.7 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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed