Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001956/0.001956, allocations: 178.2 kB / 17.39 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.617/2.617, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 92.92 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005806/0.0005809, allocations: 8 kB / 328.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7072, allocations: 47.57 MB / 375.8 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.05095/0.7583, allocations: 26.63 MB / 402.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03644/0.7949, allocations: 8.033 MB / 410.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0152/0.8102, allocations: 163.5 kB / 410.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00935/0.8196, allocations: 1.243 MB / 411.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01711/0.8368, allocations: 2.46 MB / 414.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00683/0.8436, allocations: 1.062 MB / 415.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02527/0.8689, allocations: 10.04 MB / 425.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03672/0.9057, allocations: 11.81 MB / 437.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.9183, allocations: 3.126 MB / 440.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.9309, allocations: 3.638 MB / 444 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004435/0.9353, allocations: 476 kB / 444.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008514/0.9439, allocations: 0.816 MB / 445.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006317/0.9502, allocations: 1.565 MB / 446.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01476/0.965, allocations: 3.634 MB / 450.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02786/0.9929, allocations: 13.11 MB / 463.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.637e-05/0.9929, allocations: 4 kB / 463.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.282e-06/0.993, allocations: 0 / 463.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0009722/0.994, allocations: 0 / 463.6 MB, free: 8.602 MB / 346.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.0431/1.037, allocations: 8.179 MB / 471.7 MB, free: 336 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000167/1.037, allocations: 12.03 kB / 471.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03899/1.076, allocations: 5.289 MB / 477 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.1, allocations: 4.656 MB / 481.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001632/1.102, allocations: 0.5339 MB / 482.2 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006882/1.109, allocations: 0.7146 MB / 482.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0594/1.168, allocations: 11.26 MB / 494.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006714/1.169, allocations: 11.81 kB / 494.2 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004848/1.174, allocations: 300 kB / 494.5 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/1.175, allocations: 443 kB / 494.9 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.623/1.798, allocations: 10.75 MB / 0.4938 GB, free: 95.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/1.93, allocations: 38.11 MB / 0.5311 GB, free: 69.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03624/1.966, allocations: 28.06 MB / 0.5585 GB, free: 39.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007119/1.973, allocations: 2.651 MB / 0.561 GB, free: 36.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02263/1.996, allocations: 7.947 MB / 0.5688 GB, free: 28.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/1.996, allocations: 52.56 kB / 0.5689 GB, free: 28.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 7.665e-06/1.996, allocations: 0 / 0.5689 GB, free: 28.62 MB / 378.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