Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [: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.001606/0.001606, allocations: 190.2 kB / 8.136 MB, free: 2.215 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.181/1.181, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001766/0.001766, allocations: 121.1 kB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.514e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07431/0.07434, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.2727, allocations: 73.86 MB / 415.9 MB, free: 21.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.2729, allocations: 80.27 kB / 416 MB, free: 21.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0142/0.2871, allocations: 5.286 MB / 421.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.2872, allocations: 4 kB / 421.3 MB, free: 16.83 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000801/0.288, allocations: 0.5671 MB / 421.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.288, allocations: 8.031 kB / 421.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.2881, allocations: 37.92 kB / 421.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.2884, allocations: 275 kB / 422.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2884, allocations: 7.938 kB / 422.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.2885, allocations: 17.88 kB / 422.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000266/0.2887, allocations: 143.2 kB / 422.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.289, allocations: 182.4 kB / 422.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.289, allocations: 0 / 422.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.2891, allocations: 3.984 kB / 422.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2891, allocations: 4 kB / 422.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2905, allocations: 0.8733 MB / 423.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.2907, allocations: 133.9 kB / 423.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2909, allocations: 95.53 kB / 423.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2909, allocations: 7.906 kB / 423.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.2911, allocations: 126.4 kB / 423.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2911, allocations: 4 kB / 423.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006348/0.2917, allocations: 216.9 kB / 424 MB, free: 14.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.2918, allocations: 110.6 kB / 424.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2919, allocations: 212.9 kB / 424.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.292, allocations: 25.7 kB / 424.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.292, allocations: 154.7 kB / 424.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2921, allocations: 57.7 kB / 424.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.2921, allocations: 4 kB / 424.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.2921, allocations: 333.7 kB / 424.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.2922, allocations: 55.34 kB / 424.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2924, allocations: 117.2 kB / 425 MB, free: 13.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.2925, allocations: 62 kB / 425.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2925, allocations: 4 kB / 425.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006351/0.2931, allocations: 284 kB / 425.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2932, allocations: 4 kB / 425.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2932, allocations: 0 / 425.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/0.2936, allocations: 79.67 kB / 425.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.2939, allocations: 73.27 kB / 425.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009122/0.2948, allocations: 1.279 MB / 426.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.2951, allocations: 50.41 kB / 426.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.2951, allocations: 11.75 kB / 426.9 MB, free: 11.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.2952, allocations: 123.7 kB / 427 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.2953, allocations: 23.72 kB / 427 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.2953, allocations: 24.58 kB / 427 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2953, allocations: 4 kB / 427 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.2953, allocations: 0 / 427 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2953, allocations: 0 / 427 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.2962, allocations: 0.5827 MB / 427.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2962, allocations: 0 / 427.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.2964, allocations: 59.92 kB / 427.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.2968, allocations: 76.42 kB / 427.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2968, allocations: 4 kB / 427.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007914/0.2976, allocations: 1.281 MB / 429 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2976, allocations: 8.078 kB / 429 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005883/0.2982, allocations: 398.5 kB / 429.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.2983, allocations: 104.3 kB / 429.5 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.2983, allocations: 8.062 kB / 429.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.2986, allocations: 27.97 kB / 429.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.2987, allocations: 30.06 kB / 429.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2987, allocations: 8.922 kB / 429.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000113/0.2988, allocations: 163.9 kB / 429.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.2991, allocations: 72.86 kB / 429.8 MB, free: 8.605 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.2993, allocations: 99.25 kB / 429.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.2996, allocations: 275 kB / 430.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2996, allocations: 0 / 430.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2998, allocations: 171.6 kB / 430.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3001, allocations: 33.97 kB / 430.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.3008, allocations: 359.8 kB / 430.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.301, allocations: 0.7787 MB / 431.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of SimCode: time 3.01e-07/0.301, allocations: 0 / 431.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of Templates: time 0.005667/0.3067, allocations: 3.1 MB / 434.6 MB, free: 3.906 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)