Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [: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.001673/0.001673, allocations: 196 kB / 8.137 MB, free: 2.082 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.127/1.127, allocations: 194.2 MB / 202.8 MB, free: 8.734 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.001807/0.001807, allocations: 121.5 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.844e-06/7.965e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07584/0.07586, allocations: 44.48 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.2722, allocations: 72.4 MB / 414.5 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.2725, allocations: 80.52 kB / 414.5 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01039/0.2829, allocations: 4.083 MB / 418.6 MB, free: 19.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.283, allocations: 4.938 kB / 418.6 MB, free: 19.3 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005605/0.2835, allocations: 0.5085 MB / 419.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2836, allocations: 8.031 kB / 419.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.2837, allocations: 31.62 kB / 419.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2839, allocations: 270 kB / 419.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.284, allocations: 12 kB / 419.5 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.284, allocations: 16 kB / 419.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003149/0.2843, allocations: 187.2 kB / 419.7 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.2846, allocations: 208.6 kB / 419.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2847, allocations: 0 / 419.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2847, allocations: 5.812 kB / 419.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2847, allocations: 8 kB / 419.9 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2861, allocations: 1.061 MB / 420.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.2865, allocations: 174.8 kB / 421.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.2868, allocations: 141.6 kB / 421.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2868, allocations: 0 / 421.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.2868, allocations: 41.62 kB / 421.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.2868, allocations: 0 / 421.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008797/0.2877, allocations: 292.7 kB / 421.6 MB, free: 16.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.513e-05/0.2877, allocations: 63.25 kB / 421.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2879, allocations: 205.8 kB / 421.8 MB, free: 16.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2879, allocations: 25.7 kB / 421.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.288, allocations: 186 kB / 422 MB, free: 16.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.288, allocations: 65.5 kB / 422.1 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.288, allocations: 0 / 422.1 MB, free: 16.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.522e-05/0.2881, allocations: 331.6 kB / 422.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.2882, allocations: 56.19 kB / 422.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2883, allocations: 134.5 kB / 422.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.2884, allocations: 80.53 kB / 422.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2884, allocations: 4 kB / 422.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008835/0.2893, allocations: 391.2 kB / 423.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2893, allocations: 8.766 kB / 423.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.2893, allocations: 4 kB / 423.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/0.2901, allocations: 195.2 kB / 423.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.2903, allocations: 47.92 kB / 423.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.2929, allocations: 2.9 MB / 426.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2931, allocations: 25.56 kB / 426.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2931, allocations: 15.19 kB / 426.3 MB, free: 12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.2932, allocations: 120.7 kB / 426.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.2933, allocations: 23.72 kB / 426.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.2933, allocations: 20.09 kB / 426.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2933, allocations: 4 kB / 426.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2933, allocations: 0 / 426.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2934, allocations: 3.984 kB / 426.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2945, allocations: 0.6642 MB / 427.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2945, allocations: 0 / 427.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2947, allocations: 27.98 kB / 427.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007194/0.2954, allocations: 182.6 kB / 427.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2954, allocations: 4 kB / 427.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.2978, allocations: 2.897 MB / 430.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2978, allocations: 1.781 kB / 430.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008808/0.2987, allocations: 468.3 kB / 430.7 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.2987, allocations: 100.8 kB / 430.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.2988, allocations: 3.938 kB / 430.8 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.299, allocations: 16.05 kB / 430.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.299, allocations: 15.27 kB / 430.8 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.299, allocations: 4 kB / 430.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001151/0.2991, allocations: 156 kB / 431 MB, free: 7.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000506/0.2997, allocations: 79.78 kB / 431 MB, free: 7.293 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001186/0.2998, allocations: 103.2 kB / 431.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.3003, allocations: 366.4 kB / 431.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3003, allocations: 0 / 431.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.3005, allocations: 279 kB / 431.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3008, allocations: 32.06 kB / 431.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.3015, allocations: 351.5 kB / 432.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3017, allocations: 0.7906 MB / 432.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3017, allocations: 0 / 432.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of Templates: time 0.005541/0.3073, allocations: 3.021 MB / 435.9 MB, free: 2.449 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)