Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [: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.001732/0.001732, allocations: 189.8 kB / 8.132 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.094/1.094, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001882/0.001882, allocations: 118.5 kB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.618e-06, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07271/0.07273, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.2709, allocations: 73.71 MB / 415.8 MB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.2711, allocations: 76.42 kB / 415.8 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01265/0.2838, allocations: 4.7 MB / 420.5 MB, free: 17.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.2838, allocations: 4 kB / 420.6 MB, free: 17.73 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006865/0.2845, allocations: 0.5268 MB / 421.1 MB, free: 17.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2846, allocations: 13.72 kB / 421.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.2847, allocations: 28.17 kB / 421.1 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2849, allocations: 253 kB / 421.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.285, allocations: 15.84 kB / 421.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.285, allocations: 12 kB / 421.4 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002353/0.2852, allocations: 121.1 kB / 421.5 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.2855, allocations: 149.3 kB / 421.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2855, allocations: 0 / 421.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2856, allocations: 4 kB / 421.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2856, allocations: 4 kB / 421.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.2868, allocations: 0.8112 MB / 422.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.2871, allocations: 124.3 kB / 422.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.2872, allocations: 46.05 kB / 422.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.2872, allocations: 4 kB / 422.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.2874, allocations: 101.3 kB / 422.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.2874, allocations: 0 / 422.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002325/0.2876, allocations: 129.3 kB / 422.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2876, allocations: 80.86 kB / 423 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2878, allocations: 198.8 kB / 423.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2878, allocations: 25.7 kB / 423.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.2879, allocations: 150.6 kB / 423.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2879, allocations: 33.16 kB / 423.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.2879, allocations: 0 / 423.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.288, allocations: 331.1 kB / 423.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.2881, allocations: 48.62 kB / 423.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.2882, allocations: 92.92 kB / 423.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.2882, allocations: 54.77 kB / 423.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2883, allocations: 0 / 423.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002529/0.2885, allocations: 173.4 kB / 424 MB, free: 14.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2885, allocations: 8 kB / 424 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2885, allocations: 0 / 424 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2886, allocations: 4 kB / 424 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2888, allocations: 63.41 kB / 424.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2889, allocations: 3.984 kB / 424.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.2891, allocations: 39.83 kB / 424.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2891, allocations: 11.98 kB / 424.2 MB, free: 14.35 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 (21): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.2892, allocations: 112.6 kB / 424.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.2892, allocations: 23.25 kB / 424.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.2893, allocations: 20.09 kB / 424.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2893, allocations: 3.938 kB / 424.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2893, allocations: 3.984 kB / 424.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2893, allocations: 3.984 kB / 424.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2895, allocations: 240.7 kB / 424.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2895, allocations: 0 / 424.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.2897, allocations: 51.89 kB / 424.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2898, allocations: 0 / 424.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2898, allocations: 0 / 424.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2898, allocations: 4 kB / 424.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2898, allocations: 6.094 kB / 424.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002697/0.2901, allocations: 195.2 kB / 424.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2901, allocations: 104.4 kB / 424.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.2902, allocations: 7.938 kB / 424.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.2904, allocations: 27.97 kB / 425 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.2905, allocations: 23.72 kB / 425 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2905, allocations: 4 kB / 425 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.624e-05/0.2906, allocations: 145.6 kB / 425.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000266/0.2909, allocations: 47.84 kB / 425.2 MB, free: 13.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.291, allocations: 117.5 kB / 425.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2912, allocations: 134.8 kB / 425.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2912, allocations: 384 / 425.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.2913, allocations: 60.47 kB / 425.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2916, allocations: 26.86 kB / 425.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.2922, allocations: 301.8 kB / 425.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.2925, allocations: 0.7589 MB / 426.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2925, allocations: 7.938 kB / 426.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Templates: time 0.004619/0.2971, allocations: 2.291 MB / 428.9 MB, free: 9.809 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)