Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.0006909, allocations: 12 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.109, allocations: 38.77 MB / 272.6 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01556/0.1247, allocations: 8.772 MB / 281.3 MB, free: 3.402 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.1331, allocations: 3.169 MB / 284.5 MB, free: 232 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.1349, allocations: 35.88 kB / 284.5 MB, free: 196 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.1365, allocations: 0.5599 MB / 285.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.1404, allocations: 0.9038 MB / 286 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.1429, allocations: 0.5186 MB / 286.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005183/0.1481, allocations: 2.041 MB / 288.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.1497, allocations: 0.6838 MB / 289.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.152, allocations: 0.9886 MB / 290.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.1545, allocations: 1.187 MB / 291.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007292/0.1553, allocations: 136 kB / 291.6 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009281/0.1563, allocations: 167.9 kB / 291.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.1569, allocations: 482.1 kB / 292.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.1577, allocations: 0.5081 MB / 292.7 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005108/0.1629, allocations: 3.256 MB / 296 MB, free: 4.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1629, allocations: 4 kB / 296 MB, free: 4.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1629, allocations: 0 / 296 MB, free: 4.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.1631, allocations: 0 / 296 MB, free: 4.715 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.01035/0.1734, allocations: 2.68 MB / 298.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1735, allocations: 8.031 kB / 298.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.1744, allocations: 288.5 kB / 298.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/0.1786, allocations: 1.317 MB / 300.3 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.1789, allocations: 156 kB / 300.4 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2355/0.4145, allocations: 192.2 kB / 300.6 MB, free: 28.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007601/0.4221, allocations: 1.847 MB / 302.4 MB, free: 27.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.56e-05/0.4223, allocations: 6.25 kB / 302.4 MB, free: 27.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.4226, allocations: 80.47 kB / 302.5 MB, free: 27.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.4226, allocations: 49.91 kB / 302.6 MB, free: 27.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/0.4303, allocations: 1.901 MB / 304.5 MB, free: 27.16 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.4507, allocations: 7.335 MB / 311.8 MB, free: 22.87 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/0.4568, allocations: 2.197 MB / 314 MB, free: 21.6 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/0.4572, allocations: 123.4 kB / 314.1 MB, free: 21.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.4573, allocations: 56.34 kB / 314.2 MB, free: 21.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=220): time 6.492e-06/0.4573, allocations: 0.7188 kB / 314.2 MB, free: 21.45 MB / 250.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: simpleSolenoid.g_mFeArm.V_m = (-simpleSolenoid.coil.Phi) * simpleSolenoid.g_mFeArm.R_m [/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