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.001425/0.001425, allocations: 110.4 kB / 17.75 MB, free: 5.328 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.001512/0.001512, allocations: 183.1 kB / 18.68 MB, free: 4.402 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3406, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004092/0.3448, allocations: 2.055 MB / 403.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3459, allocations: 0.5104 MB / 404 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.346, allocations: 3.938 kB / 404 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.3462, allocations: 19.8 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.3462, allocations: 19.73 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3466, allocations: 55.88 kB / 404.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3468, allocations: 127.6 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.347, allocations: 57.77 kB / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.3471, allocations: 51.8 kB / 404.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/0.3472, allocations: 59.7 kB / 404.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3472, allocations: 8 kB / 404.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.3472, allocations: 19.94 kB / 404.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.3473, allocations: 27.91 kB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.3474, allocations: 55.67 kB / 404.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3476, allocations: 131.2 kB / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3476, allocations: 0 / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3476, allocations: 0 / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3476, allocations: 0 / 404.6 MB, free: 5.668 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.0006678/0.3483, allocations: 441.9 kB / 405 MB, free: 5.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3483, allocations: 12.03 kB / 405 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.3484, allocations: 20.78 kB / 405 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3488, allocations: 212.2 kB / 405.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3488, allocations: 4.375 kB / 405.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.3488, allocations: 16.38 kB / 405.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.3494, allocations: 250.7 kB / 405.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3494, allocations: 0 / 405.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.3494, allocations: 4 kB / 405.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3494, allocations: 7.938 kB / 405.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3497, allocations: 75.94 kB / 405.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.3505, allocations: 0.596 MB / 406.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.3508, allocations: 151.9 kB / 406.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.351, allocations: 74.58 kB / 406.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.351, allocations: 11.97 kB / 406.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3511, allocations: 34.56 kB / 406.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.3511, allocations: 0 / 406.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005057/0.3516, allocations: 185.3 kB / 406.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3517, allocations: 106.8 kB / 406.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3518, allocations: 134.3 kB / 406.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3518, allocations: 29.7 kB / 406.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.3519, allocations: 120.1 kB / 407 MB, free: 2.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3519, allocations: 23.83 kB / 407.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.352, allocations: 25.72 kB / 407.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3521, allocations: 327.2 kB / 407.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3522, allocations: 39.92 kB / 407.4 MB, free: 2.523 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