Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 183.8 kB / 8.138 MB, free: 2.219 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.358/1.358, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0008581/0.000858, allocations: 88.66 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.798e-06, allocations: 4 kB / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 50.4 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08803/0.2846, allocations: 84.01 MB / 470.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.2849, allocations: 79.89 kB / 471 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04386/0.3287, allocations: 18.55 MB / 489.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.649e-05/0.3288, allocations: 28 kB / 489.6 MB, free: 15.9 MB / 378.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.001748/0.3306, allocations: 1.162 MB / 490.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3306, allocations: 8.031 kB / 490.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.3308, allocations: 146.2 kB / 490.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.3318, allocations: 0.6369 MB / 491.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.3318, allocations: 36 kB / 491.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.332, allocations: 75.98 kB / 491.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/0.333, allocations: 0.5124 MB / 492.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.3345, allocations: 1.045 MB / 493.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.3345, allocations: 3.938 kB / 493.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.3346, allocations: 11.94 kB / 493.2 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.3346, allocations: 35.91 kB / 493.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.3406, allocations: 6.671 MB / 499.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.3412, allocations: 229.5 kB / 0.4884 GB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.3415, allocations: 169.5 kB / 0.4886 GB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3416, allocations: 85.11 kB / 0.4887 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3416, allocations: 35.06 kB / 0.4887 GB, free: 4.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.715e-06/0.3417, allocations: 0 / 0.4887 GB, free: 4.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006182/0.3423, allocations: 252.6 kB / 0.4889 GB, free: 4.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.3423, allocations: 81.11 kB / 0.489 GB, free: 4.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.3429, allocations: 0.5194 MB / 0.4895 GB, free: 3.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3429, allocations: 25.7 kB / 0.4895 GB, free: 3.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.3432, allocations: 0.5821 MB / 0.4901 GB, free: 2.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.3433, allocations: 114.5 kB / 0.4902 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.3433, allocations: 0 / 0.4902 GB, free: 2.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3435, allocations: 386.7 kB / 0.4906 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3437, allocations: 113.5 kB / 0.4907 GB, free: 2.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3441, allocations: 0.5045 MB / 0.4912 GB, free: 1.605 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