Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002839/0.002838, allocations: 176.2 kB / 8.151 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001237, allocations: 88.16 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.507e-06/9.648e-06, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 47.55 MB / 361.8 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.3649, allocations: 82.61 MB / 444.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.3653, allocations: 75.95 kB / 444.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08475/0.45, allocations: 18.18 MB / 462.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.4502, allocations: 35.98 kB / 462.7 MB, free: 0.6836 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003667/0.4539, allocations: 1.167 MB / 463.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.454, allocations: 8.031 kB / 463.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/0.4546, allocations: 142.2 kB / 464 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.4565, allocations: 0.6369 MB / 464.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.4567, allocations: 40 kB / 464.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.4569, allocations: 76 kB / 464.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00213/0.4591, allocations: 0.5163 MB / 465.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.4619, allocations: 1.049 MB / 466.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/0.4621, allocations: 7.938 kB / 466.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.4622, allocations: 4 kB / 466.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.4622, allocations: 32 kB / 466.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009826/0.4721, allocations: 6.671 MB / 473.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.473, allocations: 233.5 kB / 473.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.4735, allocations: 150.5 kB / 473.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.4737, allocations: 89.09 kB / 473.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4738, allocations: 38.56 kB / 473.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.404e-06/0.4738, allocations: 0 / 473.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009446/0.4747, allocations: 251.5 kB / 473.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.4748, allocations: 81.11 kB / 473.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4759, allocations: 0.5227 MB / 474.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.476, allocations: 25.7 kB / 474.4 MB, free: 4.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.4764, allocations: 0.6079 MB / 475.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.4766, allocations: 110.5 kB / 475.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.4766, allocations: 4 kB / 475.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4768, allocations: 338.8 kB / 475.5 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.4772, allocations: 109.5 kB / 475.6 MB, free: 3.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.4779, allocations: 0.5084 MB / 476.1 MB, free: 2.414 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated