Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001642/0.001642, allocations: 179.3 kB / 8.48 MB, free: 1.883 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.271/1.271, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000994/0.0009942, allocations: 78.38 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.128e-05/1.132e-05, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08028/0.08031, allocations: 47.58 MB / 362.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.3498, allocations: 82.6 MB / 445.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.35, allocations: 67.28 kB / 445.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03894/0.389, allocations: 18.18 MB / 463.4 MB, free: 3.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001279/0.3892, allocations: 34.3 kB / 463.4 MB, free: 3.57 MB / 314.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.002295/0.3915, allocations: 1.167 MB / 464.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3915, allocations: 9.344 kB / 464.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3917, allocations: 140 kB / 464.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.3927, allocations: 0.6304 MB / 465.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.3927, allocations: 43.78 kB / 465.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3929, allocations: 68.16 kB / 465.5 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/0.3939, allocations: 0.5173 MB / 466 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.3956, allocations: 1.048 MB / 467.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.3956, allocations: 6.719 kB / 467.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.3957, allocations: 4.844 kB / 467.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.3957, allocations: 35.66 kB / 467.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.4017, allocations: 6.679 MB / 473.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.4023, allocations: 229.4 kB / 474 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.4027, allocations: 150.1 kB / 474.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.4029, allocations: 94.31 kB / 474.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.4029, allocations: 45.58 kB / 474.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.454e-06/0.4029, allocations: 3.938 kB / 474.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006796/0.4036, allocations: 244.7 kB / 474.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4036, allocations: 85.42 kB / 474.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.4043, allocations: 0.5147 MB / 475.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4043, allocations: 25.7 kB / 475.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.4047, allocations: 0.5853 MB / 475.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.4047, allocations: 112.3 kB / 475.8 MB, free: 11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.4048, allocations: 0 / 475.8 MB, free: 11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4049, allocations: 389.6 kB / 476.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4051, allocations: 108.2 kB / 476.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4056, allocations: 0.501 MB / 476.8 MB, free: 10.12 MB / 330.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