Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002099/0.002099, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009506/0.0009506, allocations: 103.8 kB / 286.7 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.102e-05, allocations: 4 kB / 343.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 51.49 MB / 395.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4931, allocations: 82.41 MB / 477.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4935, allocations: 74.78 kB / 477.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0399/0.5334, allocations: 11.94 MB / 489.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5335, allocations: 0 / 489.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.544e-05/0.5336, allocations: 27.98 kB / 489.6 MB, free: 1.176 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002155/0.5357, allocations: 0.8332 MB / 490.4 MB, free: 360 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5358, allocations: 8.031 kB / 490.5 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.5362, allocations: 106.5 kB / 490.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.5373, allocations: 0.4978 MB / 491.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.5374, allocations: 24 kB / 491.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.5375, allocations: 55.91 kB / 491.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001268/0.5388, allocations: 416.9 kB / 491.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5405, allocations: 0.655 MB / 492.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.696e-05/0.5406, allocations: 8 kB / 492.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.5407, allocations: 1.969 kB / 492.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.5407, allocations: 23.95 kB / 492.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.5453, allocations: 2.752 MB / 495 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.5459, allocations: 209.2 kB / 495.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.5462, allocations: 90.72 kB / 495.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.5465, allocations: 247.3 kB / 495.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.5466, allocations: 33.75 kB / 495.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.406e-06/0.5466, allocations: 0 / 495.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002525/0.5491, allocations: 0.7549 MB / 496.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.5492, allocations: 55.41 kB / 496.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.5497, allocations: 253 kB / 496.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5497, allocations: 25.7 kB / 496.6 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.5501, allocations: 397.6 kB / 497 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.5503, allocations: 127.6 kB / 497.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.5503, allocations: 3.938 kB / 497.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5506, allocations: 352.7 kB / 497.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.5508, allocations: 88.23 kB / 497.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.5512, allocations: 234.3 kB / 497.8 MB, free: 9.91 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