Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.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.2_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003523, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09611, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01514/0.1113, allocations: 8.834 MB / 317.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008444/0.1198, allocations: 3.162 MB / 321 MB, free: 5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.1216, allocations: 35.88 kB / 321 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1231, allocations: 0.556 MB / 321.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.1269, allocations: 0.9077 MB / 322.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.1296, allocations: 0.5186 MB / 323 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.1363, allocations: 2.072 MB / 325.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.1385, allocations: 0.6956 MB / 325.8 MB, free: 180 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.1413, allocations: 1.02 MB / 326.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.1448, allocations: 1.214 MB / 328 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008504/0.1457, allocations: 140 kB / 328.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.1468, allocations: 163.9 kB / 328.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008095/0.1476, allocations: 0.4902 MB / 328.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.1486, allocations: 0.512 MB / 329.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006951/0.1556, allocations: 3.323 MB / 332.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1557, allocations: 4 kB / 332.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1557, allocations: 0 / 332.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001238/0.1558, allocations: 0 / 332.6 MB, free: 9.289 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.01403/0.1699, allocations: 2.754 MB / 335.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.17, allocations: 8.031 kB / 335.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.1712, allocations: 296.4 kB / 335.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/0.1766, allocations: 1.317 MB / 337 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.177, allocations: 156.1 kB / 337.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007431/0.1777, allocations: 207.9 kB / 337.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009007/0.1868, allocations: 1.905 MB / 339.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.1869, allocations: 4 kB / 339.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.1874, allocations: 84 kB / 339.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-05/0.1875, allocations: 51.95 kB / 339.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.1977, allocations: 1.968 MB / 341.4 MB, free: 356 kB / 282.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.0266/0.2244, allocations: 7.476 MB / 348.8 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006121/0.2305, allocations: 2.305 MB / 351.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2308, allocations: 37.97 kB / 351.2 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/0.2309, allocations: 56.56 kB / 351.2 MB, free: 6.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=234): time 5.61e-06/0.2309, allocations: 0 / 351.2 MB, free: 6.145 MB / 298.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