Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator") [: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.001897/0.001897, allocations: 191.6 kB / 8.135 MB, free: 2.199 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.205/1.205, allocations: 194.2 MB / 202.8 MB, free: 8.758 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.001731/0.001731, allocations: 114.8 kB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.562e-06, allocations: 0 / 297.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07039/0.07041, allocations: 44.49 MB / 342.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.2685, allocations: 85.26 MB / 427.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.2688, allocations: 79.45 kB / 427.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.107/0.3758, allocations: 51.73 MB / 479.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.84e-05/0.3759, allocations: 28 kB / 479.1 MB, free: 14.07 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002914/0.3789, allocations: 1.576 MB / 480.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3789, allocations: 8.031 kB / 480.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.3792, allocations: 194.8 kB / 480.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.3811, allocations: 1.135 MB / 482.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3812, allocations: 16 kB / 482.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.3813, allocations: 31.91 kB / 482.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007463/0.382, allocations: 394.2 kB / 482.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.3828, allocations: 422.3 kB / 482.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3828, allocations: 0 / 482.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.3828, allocations: 3.984 kB / 482.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3829, allocations: 19.94 kB / 482.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.3863, allocations: 2.049 MB / 485 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.3869, allocations: 429.1 kB / 485.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.3875, allocations: 445.6 kB / 485.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009808/0.3973, allocations: 7.701 MB / 493.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.3978, allocations: 247.8 kB / 493.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 3.056e-06/0.3978, allocations: 0 / 493.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.004498/0.4023, allocations: 2.118 MB / 495.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4023, allocations: 55.84 kB / 495.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.4039, allocations: 0.9903 MB / 496.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.4039, allocations: 33.69 kB / 497 MB, free: 10.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.4043, allocations: 364.3 kB / 497.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.4045, allocations: 208.9 kB / 497.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.4045, allocations: 0 / 497.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4046, allocations: 335.5 kB / 497.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.4049, allocations: 157.4 kB / 498 MB, free: 9.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.4053, allocations: 318.8 kB / 498.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008109/0.4061, allocations: 342.7 kB / 498.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4061, allocations: 4 kB / 498.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001944/0.4081, allocations: 0.931 MB / 499.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4081, allocations: 4 kB / 499.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.4083, allocations: 59.98 kB / 499.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.4087, allocations: 143.5 kB / 499.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.4093, allocations: 123.8 kB / 499.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.4122, allocations: 2.193 MB / 0.4903 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.4129, allocations: 19.98 kB / 0.4904 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.413, allocations: 36 kB / 0.4904 GB, free: 5.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.4132, allocations: 128.6 kB / 0.4905 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.4135, allocations: 182 kB / 0.4907 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.4162, allocations: 1.02 MB / 0.4917 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.4162, allocations: 11.94 kB / 0.4917 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4162, allocations: 5.875 kB / 0.4917 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4163, allocations: 3.984 kB / 0.4917 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4175, allocations: 0.785 MB / 0.4925 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.993e-05/0.4176, allocations: 55.98 kB / 0.4925 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.418, allocations: 75.89 kB / 0.4926 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.4184, allocations: 140.8 kB / 0.4927 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.4185, allocations: 15.89 kB / 0.4927 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.4212, allocations: 2.184 MB / 0.4949 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4212, allocations: 4 kB / 0.4949 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002013/0.4232, allocations: 1.071 MB / 0.4959 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.4237, allocations: 251 kB / 0.4962 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.4239, allocations: 4 kB / 0.4962 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.4245, allocations: 23.98 kB / 0.4962 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4246, allocations: 44.28 kB / 0.4962 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.4247, allocations: 20 kB / 0.4963 GB, free: 15.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001105/0.4258, allocations: 0.7447 MB / 0.497 GB, free: 14.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001072/0.4269, allocations: 411.6 kB / 0.4974 GB, free: 14.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000939/0.4278, allocations: 0.5875 MB / 0.4979 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.4292, allocations: 0.7321 MB / 0.4987 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4292, allocations: 0 / 0.4987 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.4302, allocations: 0.5268 MB / 0.4992 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.4308, allocations: 148.3 kB / 0.4993 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.4343, allocations: 1.782 MB / 0.5011 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.4352, allocations: 1.263 MB / 0.5023 GB, free: 8.863 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4352, allocations: 0 / 0.5023 GB, free: 8.863 MB / 394.7 MB Notification: Performance of Templates: time 0.1212/0.5564, allocations: 12.51 MB / 0.5145 GB, free: 140 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)