Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [: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.2+maint.om/package.mo): time 0.001533/0.001533, allocations: 193 kB / 8.136 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.151/1.151, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 116.8 kB / 247.8 MB, free: 6.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.712e-06/6.733e-06, allocations: 0 / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07403/0.07405, allocations: 44.49 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.2648, allocations: 72.45 MB / 414.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.2651, allocations: 78.16 kB / 414.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.008909/0.274, allocations: 3.655 MB / 418.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.274, allocations: 4 kB / 418.3 MB, free: 19.59 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005161/0.2746, allocations: 497 kB / 418.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2746, allocations: 8.031 kB / 418.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.2747, allocations: 31.62 kB / 418.8 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2749, allocations: 254.5 kB / 419 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2749, allocations: 8 kB / 419 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.275, allocations: 20 kB / 419.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002346/0.2752, allocations: 145.5 kB / 419.2 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.2755, allocations: 177.6 kB / 419.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2755, allocations: 0 / 419.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.2756, allocations: 2.406 kB / 419.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2756, allocations: 11.91 kB / 419.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.2768, allocations: 0.8527 MB / 420.2 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.2771, allocations: 81.89 kB / 420.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.2773, allocations: 150.8 kB / 420.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.2774, allocations: 3.984 kB / 420.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2774, allocations: 34.56 kB / 420.5 MB, free: 17.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.2774, allocations: 0 / 420.5 MB, free: 17.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005766/0.278, allocations: 219.1 kB / 420.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.473e-05/0.278, allocations: 59.39 kB / 420.8 MB, free: 17.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2781, allocations: 179.1 kB / 421 MB, free: 17.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2781, allocations: 26.25 kB / 421 MB, free: 17.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.2782, allocations: 165.8 kB / 421.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.2782, allocations: 54.8 kB / 421.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.2782, allocations: 0 / 421.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.2783, allocations: 333.6 kB / 421.5 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.2784, allocations: 48.34 kB / 421.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.2785, allocations: 91.72 kB / 421.7 MB, free: 16.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.2785, allocations: 66.16 kB / 421.7 MB, free: 16.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2786, allocations: 0 / 421.7 MB, free: 16.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005571/0.2791, allocations: 282.3 kB / 422 MB, free: 16.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.2791, allocations: 4 kB / 422 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2792, allocations: 0 / 422 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.2796, allocations: 106.9 kB / 422.1 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2798, allocations: 48.03 kB / 422.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.2812, allocations: 1.59 MB / 423.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.2814, allocations: 15.75 kB / 423.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2814, allocations: 8 kB / 423.8 MB, free: 14.37 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.2815, allocations: 116.6 kB / 423.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.2816, allocations: 19.72 kB / 423.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.2816, allocations: 24.7 kB / 423.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2817, allocations: 8.062 kB / 423.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.2817, allocations: 2.062 kB / 423.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2817, allocations: 0 / 423.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.2824, allocations: 0.5478 MB / 424.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2824, allocations: 0 / 424.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2826, allocations: 31.98 kB / 424.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.283, allocations: 98.72 kB / 424.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.283, allocations: 4 kB / 424.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.2844, allocations: 1.615 MB / 426.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2844, allocations: 0 / 426.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005672/0.285, allocations: 381.6 kB / 426.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.2851, allocations: 97.67 kB / 426.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2851, allocations: 4 kB / 426.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.2853, allocations: 11.98 kB / 426.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.2853, allocations: 7.984 kB / 426.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2853, allocations: 4 kB / 426.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.402e-05/0.2854, allocations: 144.8 kB / 426.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.2858, allocations: 75.75 kB / 426.9 MB, free: 11.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.2859, allocations: 103.2 kB / 427 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.2863, allocations: 227.6 kB / 427.3 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2863, allocations: 0 / 427.3 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.2865, allocations: 179.5 kB / 427.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2867, allocations: 21.39 kB / 427.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.288, allocations: 0.5112 MB / 428 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.2882, allocations: 0.7663 MB / 428.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2882, allocations: 0 / 428.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of Templates: time 0.004578/0.2928, allocations: 2.426 MB / 431.2 MB, free: 7.164 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)