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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009469/0.0009466, 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.402/1.402, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.00101/0.00101, allocations: 98.67 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.534e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4793, allocations: 84.08 MB / 471.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4796, allocations: 71.97 kB / 471.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04127/0.5209, allocations: 18.78 MB / 490.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5209, allocations: 0 / 490.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.296e-05/0.521, allocations: 32 kB / 490.4 MB, free: 7.609 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.001694/0.5227, allocations: 1.143 MB / 491.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5227, allocations: 11.98 kB / 491.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.5229, allocations: 142.2 kB / 491.7 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009428/0.5239, allocations: 0.637 MB / 492.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.5239, allocations: 39.94 kB / 492.4 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.5241, allocations: 75.98 kB / 492.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009705/0.5251, allocations: 0.5124 MB / 493 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5266, allocations: 1.045 MB / 494 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.5266, allocations: 11.92 kB / 494 MB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.5267, allocations: 4 kB / 494 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.5267, allocations: 32 kB / 494.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.5321, allocations: 6.672 MB / 0.489 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.5326, allocations: 237.5 kB / 0.4892 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.5329, allocations: 161.6 kB / 0.4894 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.5331, allocations: 85.09 kB / 0.4895 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5331, allocations: 39.06 kB / 0.4895 GB, free: 12.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.014e-06/0.5331, allocations: 0 / 0.4895 GB, free: 12.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006333/0.5338, allocations: 248.5 kB / 0.4897 GB, free: 11.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.5338, allocations: 85.09 kB / 0.4898 GB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.5344, allocations: 0.5156 MB / 0.4903 GB, free: 11.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.5344, allocations: 25.7 kB / 0.4904 GB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.5348, allocations: 0.6914 MB / 0.491 GB, free: 10.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.5349, allocations: 102.5 kB / 0.4911 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.5349, allocations: 0 / 0.4911 GB, free: 10.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5351, allocations: 390.7 kB / 0.4915 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.5353, allocations: 105.6 kB / 0.4916 GB, free: 9.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.5357, allocations: 0.5119 MB / 0.4921 GB, free: 9.227 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