Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 197.2 kB / 18.05 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.794/1.794, allocations: 226.5 MB / 245.3 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001132, allocations: 92.59 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.000484, allocations: 8 kB / 357.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5471, allocations: 51.29 MB / 408.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03649/0.5837, allocations: 27.24 MB / 436 MB, free: 332 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03402/0.6178, allocations: 8.231 MB / 444.2 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01392/0.6318, allocations: 171.5 kB / 444.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.6423, allocations: 1.27 MB / 445.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.6592, allocations: 2.468 MB / 448.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007151/0.6663, allocations: 1.086 MB / 449.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02548/0.6918, allocations: 10.17 MB / 459.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03331/0.7253, allocations: 11.85 MB / 471.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.7362, allocations: 3.122 MB / 474.3 MB, free: 9.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.7489, allocations: 3.646 MB / 478 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004886/0.7538, allocations: 476 kB / 478.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008849/0.7627, allocations: 0.8355 MB / 479.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005959/0.7687, allocations: 1.561 MB / 480.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01625/0.785, allocations: 3.638 MB / 484.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02896/0.814, allocations: 13.22 MB / 497.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.8142, allocations: 4 kB / 497.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.334e-06/0.8142, allocations: 0 / 497.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0009605/0.8151, allocations: 0 / 497.7 MB, free: 2.352 MB / 362.7 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.03777/0.8529, allocations: 8.211 MB / 0.494 GB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000103/0.8531, allocations: 12.03 kB / 0.4941 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/0.8846, allocations: 5.274 MB / 0.4992 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5334/1.418, allocations: 4.977 MB / 0.5041 GB, free: 79.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002455/1.421, allocations: 0.5317 MB / 0.5046 GB, free: 79.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006902/1.428, allocations: 0.7104 MB / 0.5053 GB, free: 79.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04979/1.477, allocations: 11.27 MB / 0.5163 GB, free: 75.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/1.478, allocations: 19.97 kB / 0.5163 GB, free: 75.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/1.479, allocations: 297.7 kB / 0.5166 GB, free: 74.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/1.48, allocations: 443 kB / 0.517 GB, free: 74.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0324/1.512, allocations: 10.76 MB / 0.5275 GB, free: 69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09984/1.612, allocations: 39.01 MB / 0.5656 GB, free: 29.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02876/1.641, allocations: 28.24 MB / 0.5932 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00705/1.648, allocations: 2.667 MB / 0.5958 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/1.672, allocations: 8.458 MB / 0.6041 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.673, allocations: 60.5 kB / 0.6041 GB, free: 1.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 5.6e-06/1.673, allocations: 0 / 0.6041 GB, free: 1.867 MB / 394.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.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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed