Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001172/0.001172, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 48.06 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2674, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003638/0.2711, allocations: 2.051 MB / 403.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2721, allocations: 0.5104 MB / 404 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2723, allocations: 7.938 kB / 404 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2724, allocations: 11.81 kB / 404 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.2725, allocations: 35.66 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2729, allocations: 51.88 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2731, allocations: 131.5 kB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2733, allocations: 57.78 kB / 404.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.2734, allocations: 43.8 kB / 404.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.2735, allocations: 63.69 kB / 404.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.2735, allocations: 12 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.2736, allocations: 8 kB / 404.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.2736, allocations: 31.86 kB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.2737, allocations: 63.67 kB / 404.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2739, allocations: 127.4 kB / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2739, allocations: 0 / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2739, allocations: 4 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2739, allocations: 0 / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007217/0.2746, allocations: 428.3 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2747, allocations: 8.031 kB / 405 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.2748, allocations: 12.84 kB / 405 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.275, allocations: 220 kB / 405.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2751, allocations: 8.375 kB / 405.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.2751, allocations: 12.38 kB / 405.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.2757, allocations: 238.9 kB / 405.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2757, allocations: 4 kB / 405.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2757, allocations: 4 kB / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2757, allocations: 0 / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.276, allocations: 83.88 kB / 405.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.2766, allocations: 0.6037 MB / 406.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.277, allocations: 144 kB / 406.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2772, allocations: 78.47 kB / 406.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2772, allocations: 0 / 406.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2772, allocations: 42.56 kB / 406.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.2772, allocations: 0 / 406.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005093/0.2777, allocations: 177.7 kB / 406.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.2778, allocations: 102.8 kB / 406.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2779, allocations: 142.1 kB / 406.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.278, allocations: 33.7 kB / 406.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.278, allocations: 116 kB / 407 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2781, allocations: 23.73 kB / 407 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2781, allocations: 33.72 kB / 407.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.2782, allocations: 318.8 kB / 407.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.2783, allocations: 35.97 kB / 407.4 MB, free: 2.547 MB / 318.1 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController could not be translated