Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 114.3 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009596/0.0009597, allocations: 39.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2344, allocations: 49.45 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01449/0.249, allocations: 13.56 MB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00892/0.2579, allocations: 5.182 MB / 420.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.2595, allocations: 79.62 kB / 420.3 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.2616, allocations: 1.001 MB / 421.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.2643, allocations: 1.207 MB / 422.5 MB, free: 3.742 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.2662, allocations: 0.9829 MB / 423.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.2702, allocations: 4.261 MB / 427.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003389/0.2736, allocations: 3.166 MB / 430.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.2759, allocations: 1.889 MB / 432.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.2788, allocations: 2.296 MB / 435.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006576/0.2794, allocations: 0.5625 MB / 435.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2808, allocations: 0.8549 MB / 436.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.282, allocations: 1.399 MB / 437.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00203/0.284, allocations: 2.268 MB / 440.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006131/0.2902, allocations: 7.44 MB / 447.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2902, allocations: 7.938 kB / 447.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2902, allocations: 0 / 447.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.327e-05/0.2903, allocations: 0 / 447.6 MB, free: 10.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.008292/0.2986, allocations: 4.356 MB / 451.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2986, allocations: 16.02 kB / 452 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.2999, allocations: 447.7 kB / 452.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.3038, allocations: 2.467 MB / 454.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.3041, allocations: 339.3 kB / 455.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.3046, allocations: 315.8 kB / 455.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00714/0.3117, allocations: 4.257 MB / 459.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/0.3118, allocations: 11.89 kB / 459.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.3121, allocations: 120 kB / 459.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.3123, allocations: 158 kB / 460 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006974/0.3193, allocations: 3.826 MB / 463.9 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.3404, allocations: 13.99 MB / 477.9 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.3438, allocations: 2.135 MB / 480 MB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/0.346, allocations: 1.267 MB / 481.3 MB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.3464, allocations: 216.2 kB / 481.5 MB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.3486, allocations: 1.295 MB / 482.8 MB, free: 6.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=186): time 3.998e-06/0.3486, allocations: 0 / 482.8 MB, free: 6.547 MB / 398.1 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: motor.smpm.lssigma.i_[1] = motor.smpm.airGap.RotationMatrix[2,2] * motor.smpm.idq_sr[1] - motor.smpm.airGap.RotationMatrix[2,1] * motor.smpm.idq_sr[2] [/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Blocks.Examples.Noise.ActuatorWithNoise could not be translated