Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [: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.001113/0.001113, allocations: 183.7 kB / 8.48 MB, free: 1.891 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.244/1.244, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.0008672/0.0008672, allocations: 87.67 kB / 262.1 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.596e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.07651, allocations: 47.59 MB / 362.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.3038, allocations: 80.47 MB / 443 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.304, allocations: 65.11 kB / 443.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0326/0.3366, allocations: 15.59 MB / 458.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.789e-05/0.3367, allocations: 40.22 kB / 458.7 MB, free: 5.238 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001293/0.338, allocations: 1.046 MB / 459.8 MB, free: 4.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3381, allocations: 8.656 kB / 459.8 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.3382, allocations: 127.4 kB / 459.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.339, allocations: 0.5516 MB / 460.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.339, allocations: 32.78 kB / 460.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.3391, allocations: 64.73 kB / 460.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007779/0.3399, allocations: 411.3 kB / 460.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3411, allocations: 0.8499 MB / 461.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.3412, allocations: 10.41 kB / 461.8 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.3412, allocations: 3.688 kB / 461.8 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.3413, allocations: 27.09 kB / 461.8 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.3452, allocations: 5.384 MB / 467.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.3456, allocations: 204.2 kB / 467.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.3458, allocations: 137.2 kB / 467.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.346, allocations: 90.86 kB / 467.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.346, allocations: 36.53 kB / 467.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.454e-06/0.346, allocations: 0 / 467.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.002317/0.3484, allocations: 1.327 MB / 469 MB, free: 13.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.3484, allocations: 84.64 kB / 469.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.349, allocations: 0.5051 MB / 469.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.349, allocations: 25.7 kB / 469.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3492, allocations: 0.4985 MB / 470.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.3493, allocations: 132.2 kB / 470.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.3494, allocations: 0 / 470.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3495, allocations: 383.7 kB / 470.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3497, allocations: 108.8 kB / 470.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.35, allocations: 449.5 kB / 471.2 MB, free: 12.31 MB / 330.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