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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009472/0.0009475, allocations: 179.8 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0008502/0.0008502, allocations: 78.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.951e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09107, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4282, allocations: 82.92 MB / 446 MB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4284, allocations: 67.03 kB / 446.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04369/0.4722, allocations: 18.42 MB / 464.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4722, allocations: 0 / 464.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.809e-05/0.4723, allocations: 35.98 kB / 464.5 MB, free: 13.4 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.001816/0.4741, allocations: 1.142 MB / 465.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4742, allocations: 8.031 kB / 465.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.4744, allocations: 146.2 kB / 465.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009019/0.4753, allocations: 0.6348 MB / 466.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.4753, allocations: 36 kB / 466.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4755, allocations: 72 kB / 466.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009636/0.4764, allocations: 0.5111 MB / 467.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.478, allocations: 1.049 MB / 468.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.478, allocations: 11.94 kB / 468.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.4781, allocations: 4 kB / 468.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.4781, allocations: 40.55 kB / 468.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.4841, allocations: 6.668 MB / 474.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.4846, allocations: 246 kB / 475.1 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.4849, allocations: 161.5 kB / 475.2 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.485, allocations: 81.11 kB / 475.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4851, allocations: 37.19 kB / 475.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.933e-06/0.4851, allocations: 0 / 475.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005075/0.4856, allocations: 252 kB / 475.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4856, allocations: 81.11 kB / 475.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.4862, allocations: 0.516 MB / 476.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4862, allocations: 29.7 kB / 476.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.4866, allocations: 0.68 MB / 476.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.4866, allocations: 107.9 kB / 477 MB, free: 1.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.4867, allocations: 0 / 477 MB, free: 1.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4869, allocations: 386.6 kB / 477.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.487, allocations: 104.9 kB / 477.5 MB, free: 1.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.4875, allocations: 0.5093 MB / 478 MB, free: 0.9219 MB / 346.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