Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005697, allocations: 16 kB / 264.5 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1745, allocations: 44.51 MB / 309 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.04686/0.2214, allocations: 24.61 MB / 333.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.2482, allocations: 8.224 MB / 341.9 MB, free: 80 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007325/0.2556, allocations: 155.5 kB / 342 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009019/0.2647, allocations: 1.582 MB / 343.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01694/0.2817, allocations: 3.147 MB / 346.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00777/0.2895, allocations: 1.296 MB / 348 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0219/0.3114, allocations: 7.402 MB / 355.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02978/0.3413, allocations: 9.879 MB / 365.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009144/0.3505, allocations: 2.959 MB / 368.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009688/0.3602, allocations: 3.362 MB / 371.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003128/0.3635, allocations: 476 kB / 372.1 MB, free: 1.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006306/0.3698, allocations: 0.7535 MB / 372.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3301/0.7, allocations: 1.494 MB / 374.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006275/0.7064, allocations: 1.588 MB / 375.9 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02627/0.7327, allocations: 13.07 MB / 389 MB, free: 17.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.7328, allocations: 0 / 389 MB, free: 17.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.7328, allocations: 0.9688 kB / 389 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007859/0.7336, allocations: 0 / 389 MB, free: 17.41 MB / 314.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.04395/0.7776, allocations: 8.213 MB / 397.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.7777, allocations: 8.75 kB / 397.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04516/0.8228, allocations: 5.179 MB / 402.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/0.8416, allocations: 4.593 MB / 407 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009958/0.8427, allocations: 0.5329 MB / 407.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005339/0.8481, allocations: 0.7068 MB / 408.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05079/0.8989, allocations: 11.26 MB / 419.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005273/0.8995, allocations: 19.86 kB / 419.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004379/0.9039, allocations: 297.6 kB / 419.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006939/0.9047, allocations: 450.6 kB / 420.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04076/0.9455, allocations: 10.76 MB / 431 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1375/1.083, allocations: 38.11 MB / 469.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03797/1.121, allocations: 28.08 MB / 497.2 MB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02831/1.149, allocations: 7.977 MB / 0.4933 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.276e-05/1.15, allocations: 52.56 kB / 0.4934 GB, free: 312 kB / 394.7 MB Notification: Performance of pre-optimization done (n=222): time 7.154e-06/1.15, allocations: 4 kB / 0.4934 GB, free: 308 kB / 394.7 MB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed