Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000989/0.000989, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008498, allocations: 92.8 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.366e-05, allocations: 7.984 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.08911, allocations: 50.41 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2959/0.3851, allocations: 82.3 MB / 469.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.3853, allocations: 67.97 kB / 469.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03593/0.4213, allocations: 14.54 MB / 484.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4213, allocations: 4 kB / 484.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.348e-05/0.4214, allocations: 19.98 kB / 484.4 MB, free: 13.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001325/0.4227, allocations: 0.8952 MB / 485.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4228, allocations: 11.98 kB / 485.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.4229, allocations: 106.7 kB / 485.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.4237, allocations: 0.5199 MB / 485.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.4237, allocations: 28 kB / 485.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.4238, allocations: 47.94 kB / 486 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006428/0.4245, allocations: 355.9 kB / 486.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4256, allocations: 0.696 MB / 487 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.4256, allocations: 23.78 kB / 487.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.4257, allocations: 8 kB / 487.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.4257, allocations: 20 kB / 487.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.4291, allocations: 4.272 MB / 491.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.4295, allocations: 263.4 kB / 491.6 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.4297, allocations: 125.5 kB / 491.7 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.4299, allocations: 170.6 kB / 491.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.43, allocations: 34.94 kB / 491.9 MB, free: 5.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.434e-06/0.43, allocations: 4.219 kB / 491.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.002251/0.4322, allocations: 1.372 MB / 493.3 MB, free: 4.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.4323, allocations: 59.84 kB / 493.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.4327, allocations: 435.3 kB / 493.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4328, allocations: 29.7 kB / 493.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.4331, allocations: 478.5 kB / 494.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4332, allocations: 201 kB / 494.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.4332, allocations: 0 / 494.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4334, allocations: 378.8 kB / 494.9 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.4336, allocations: 122.6 kB / 495 MB, free: 2.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.434, allocations: 428.6 kB / 495.4 MB, free: 1.977 MB / 362.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "--maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated