Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003337, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08672, allocations: 44.51 MB / 309.1 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03962/0.1264, allocations: 24.58 MB / 333.7 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.1474, allocations: 8.24 MB / 341.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004891/0.1523, allocations: 155.5 kB / 342.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006965/0.1593, allocations: 1.578 MB / 343.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.1723, allocations: 3.143 MB / 346.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006272/0.1786, allocations: 1.299 MB / 348.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01735/0.196, allocations: 7.417 MB / 355.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02341/0.2194, allocations: 9.864 MB / 365.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005868/0.2253, allocations: 2.924 MB / 368.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007088/0.2325, allocations: 3.311 MB / 371.6 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.2342, allocations: 468 kB / 372.1 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/0.2379, allocations: 0.7496 MB / 372.8 MB, free: 384 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2718/0.5097, allocations: 1.49 MB / 374.3 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005195/0.515, allocations: 1.584 MB / 375.9 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02631/0.5413, allocations: 13.03 MB / 388.9 MB, free: 17.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5414, allocations: 0.5625 kB / 388.9 MB, free: 17.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.569e-06/0.5414, allocations: 1.156 kB / 388.9 MB, free: 17.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000477/0.5419, allocations: 0 / 388.9 MB, free: 17.98 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.04383/0.5858, allocations: 8.203 MB / 397.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.5859, allocations: 9.5 kB / 397.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06655/0.6524, allocations: 5.18 MB / 402.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/0.6664, allocations: 4.617 MB / 406.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/0.6669, allocations: 0.5312 MB / 407.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002989/0.6699, allocations: 0.7049 MB / 408.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/0.7021, allocations: 11.2 MB / 419.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003191/0.7024, allocations: 12.77 kB / 419.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00352/0.706, allocations: 295.7 kB / 419.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.7066, allocations: 447.6 kB / 420.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.7374, allocations: 10.75 MB / 430.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09289/0.8304, allocations: 38.03 MB / 468.9 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03144/0.8618, allocations: 28.07 MB / 497 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/0.8839, allocations: 7.914 MB / 0.493 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/0.884, allocations: 60.56 kB / 0.4931 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=222): time 5.631e-06/0.884, allocations: 0 / 0.4931 GB, free: 0.6992 MB / 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