Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001046/0.001046, allocations: 196.4 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008506/0.0008507, allocations: 92.91 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.242e-06, allocations: 0 / 343.1 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08842, allocations: 51.47 MB / 394.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.3106, allocations: 84.83 MB / 479.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.3108, allocations: 76.05 kB / 479.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04079/0.3516, allocations: 18.6 MB / 498.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.43e-05/0.3518, allocations: 27.98 kB / 498.2 MB, free: 9 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002059/0.3538, allocations: 1.172 MB / 499.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3539, allocations: 8.031 kB / 499.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.3543, allocations: 162.3 kB / 499.5 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3554, allocations: 0.644 MB / 0.4884 GB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.3554, allocations: 40 kB / 0.4885 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3556, allocations: 68 kB / 0.4885 GB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/0.3566, allocations: 0.5138 MB / 0.489 GB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.3581, allocations: 1.048 MB / 0.49 GB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.3582, allocations: 7.938 kB / 0.49 GB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.3583, allocations: 7.906 kB / 0.4901 GB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.3583, allocations: 34.25 kB / 0.4901 GB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.3637, allocations: 6.681 MB / 0.4966 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.3642, allocations: 229.6 kB / 0.4968 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3645, allocations: 151.6 kB / 0.497 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3646, allocations: 96.41 kB / 0.4971 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3647, allocations: 33.81 kB / 0.4971 GB, free: 14.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.3647, allocations: 0 / 0.4971 GB, free: 14.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005532/0.3652, allocations: 248.1 kB / 0.4973 GB, free: 14.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3653, allocations: 81.11 kB / 0.4974 GB, free: 14.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.3658, allocations: 0.517 MB / 0.4979 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3659, allocations: 25.7 kB / 0.4979 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.3662, allocations: 0.5875 MB / 0.4985 GB, free: 13.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.3662, allocations: 109.7 kB / 0.4986 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.3663, allocations: 0 / 0.4986 GB, free: 13.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3664, allocations: 387.3 kB / 0.499 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3666, allocations: 110.1 kB / 0.4991 GB, free: 13.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.367, allocations: 0.5058 MB / 0.4996 GB, free: 12.49 MB / 378.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