Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 177.6 kB / 8.349 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.303/1.303, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0009049/0.0009049, allocations: 91.47 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.002e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08544, allocations: 50.43 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.3659, allocations: 82.25 MB / 469.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.3662, allocations: 67.97 kB / 469.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03856/0.4047, allocations: 16.13 MB / 485.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4048, allocations: 0 / 485.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.089e-05/0.4048, allocations: 27.98 kB / 485.9 MB, free: 12.08 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001431/0.4063, allocations: 1.033 MB / 487 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4063, allocations: 8.031 kB / 487 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.4065, allocations: 126.4 kB / 487.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.4073, allocations: 0.5627 MB / 487.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.4073, allocations: 32 kB / 487.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.4074, allocations: 63.91 kB / 487.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007464/0.4082, allocations: 419.9 kB / 488.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4094, allocations: 0.8409 MB / 489 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.4094, allocations: 11.94 kB / 489 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.4095, allocations: 7.938 kB / 489 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.4095, allocations: 27.94 kB / 489.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.4137, allocations: 5.379 MB / 494.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.414, allocations: 221.1 kB / 494.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.4142, allocations: 129.7 kB / 494.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.4144, allocations: 93.09 kB / 494.9 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4144, allocations: 38.55 kB / 494.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.4144, allocations: 4 kB / 494.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002292/0.4167, allocations: 1.322 MB / 496.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4168, allocations: 85.05 kB / 496.3 MB, free: 1.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.4174, allocations: 0.4959 MB / 496.8 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4174, allocations: 25.7 kB / 496.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.4177, allocations: 0.6025 MB / 497.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/0.4178, allocations: 126.2 kB / 497.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.4179, allocations: 0 / 497.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.418, allocations: 386.8 kB / 497.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.4182, allocations: 105.5 kB / 498 MB, free: 15.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.4186, allocations: 450.3 kB / 498.5 MB, free: 14.68 MB / 378.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "--maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated