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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 176.2 kB / 8.348 MB, free: 0.7266 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.485/1.485, allocations: 221.5 MB / 230.3 MB, free: 7.488 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.0008225/0.0008225, allocations: 89.88 kB / 281.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.032e-05, allocations: 4 kB / 337.1 MB, free: 9.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.09917, allocations: 50.42 MB / 387.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4229, allocations: 84.09 MB / 471.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4232, allocations: 75.95 kB / 471.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04461/0.4679, allocations: 18.78 MB / 490.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4679, allocations: 0 / 490.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.318e-05/0.468, allocations: 36 kB / 490.5 MB, free: 7.395 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.001697/0.4697, allocations: 1.143 MB / 491.7 MB, free: 6.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4697, allocations: 12.03 kB / 491.7 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.4699, allocations: 146.2 kB / 491.8 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.4709, allocations: 0.6369 MB / 492.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.4709, allocations: 36 kB / 492.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.471, allocations: 71.94 kB / 492.6 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009909/0.472, allocations: 0.5164 MB / 493.1 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.4736, allocations: 1.049 MB / 494.1 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.4737, allocations: 3.938 kB / 494.1 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.4738, allocations: 11.94 kB / 494.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.4738, allocations: 32 kB / 494.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005493/0.4793, allocations: 6.66 MB / 0.4891 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.4798, allocations: 241.5 kB / 0.4893 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.4801, allocations: 161.6 kB / 0.4895 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.4802, allocations: 89.09 kB / 0.4896 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4803, allocations: 34.56 kB / 0.4896 GB, free: 11.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.4803, allocations: 0 / 0.4896 GB, free: 11.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005225/0.4808, allocations: 249 kB / 0.4898 GB, free: 11.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.4809, allocations: 85.11 kB / 0.4899 GB, free: 11.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.4814, allocations: 0.5156 MB / 0.4904 GB, free: 11.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.4815, allocations: 25.7 kB / 0.4905 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.4819, allocations: 0.6836 MB / 0.4911 GB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.4819, allocations: 110.5 kB / 0.4912 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.482, allocations: 0 / 0.4912 GB, free: 10.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4821, allocations: 386.7 kB / 0.4916 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4823, allocations: 109.6 kB / 0.4917 GB, free: 9.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.4827, allocations: 0.5119 MB / 0.4922 GB, free: 9.016 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