Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 200.5 kB / 18.05 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 226.5 MB / 245.3 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 97.3 kB / 297.4 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 4 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 51.3 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002045/0.2856, allocations: 1.73 MB / 410.4 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.2865, allocations: 0.4939 MB / 410.9 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2866, allocations: 7.938 kB / 410.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2867, allocations: 3.938 kB / 410.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.2868, allocations: 25.12 kB / 410.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.287, allocations: 39.95 kB / 411 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.2872, allocations: 124.6 kB / 411.1 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2874, allocations: 51.52 kB / 411.2 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.2874, allocations: 37.17 kB / 411.2 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.2875, allocations: 47.7 kB / 411.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.2875, allocations: 4 kB / 411.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.2875, allocations: 8.812 kB / 411.3 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.2876, allocations: 15.92 kB / 411.3 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.2876, allocations: 73.44 kB / 411.3 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.2877, allocations: 93.61 kB / 411.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2878, allocations: 0 / 411.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2878, allocations: 3.5 kB / 411.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2878, allocations: 0 / 411.4 MB, free: 24.97 MB / 298.7 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.0005132/0.2883, allocations: 407 kB / 411.8 MB, free: 24.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2883, allocations: 15.97 kB / 411.8 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2884, allocations: 12.75 kB / 411.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.2886, allocations: 215.7 kB / 412.1 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2886, allocations: 8.375 kB / 412.1 MB, free: 24.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.2886, allocations: 24.16 kB / 412.1 MB, free: 24.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.2891, allocations: 228.2 kB / 412.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2891, allocations: 3.938 kB / 412.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.2891, allocations: 4 kB / 412.3 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2891, allocations: 4 kB / 412.3 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.2894, allocations: 91.88 kB / 412.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.2899, allocations: 0.5921 MB / 413 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.2902, allocations: 155.9 kB / 413.2 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.2904, allocations: 90.55 kB / 413.3 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2904, allocations: 4 kB / 413.3 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2904, allocations: 30.56 kB / 413.3 MB, free: 22.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.2904, allocations: 0 / 413.3 MB, free: 22.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004454/0.2909, allocations: 201.2 kB / 413.5 MB, free: 22.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2909, allocations: 102.8 kB / 413.6 MB, free: 22.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.291, allocations: 140.7 kB / 413.7 MB, free: 22.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.291, allocations: 29.7 kB / 413.8 MB, free: 22.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.2911, allocations: 116 kB / 413.9 MB, free: 22.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.2911, allocations: 27.64 kB / 413.9 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.2911, allocations: 4 kB / 413.9 MB, free: 22.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.2911, allocations: 318.8 kB / 414.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2913, allocations: 39.97 kB / 414.2 MB, free: 21.87 MB / 298.7 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated