Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [: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.001006/0.001006, allocations: 193 kB / 8.138 MB, free: 2.188 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.171/1.171, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001894/0.001894, allocations: 118.5 kB / 247.7 MB, free: 6.391 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.618e-06, allocations: 4 kB / 297.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07552/0.07554, allocations: 44.48 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.2736, allocations: 73.71 MB / 415.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.2738, allocations: 80.7 kB / 415.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01301/0.2869, allocations: 4.705 MB / 420.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.2869, allocations: 4.938 kB / 420.6 MB, free: 17.41 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.000759/0.2877, allocations: 0.5305 MB / 421.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2877, allocations: 8.031 kB / 421.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.2878, allocations: 29.38 kB / 421.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.2882, allocations: 258.4 kB / 421.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2882, allocations: 11.91 kB / 421.4 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.2883, allocations: 11.94 kB / 421.4 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002499/0.2885, allocations: 125.9 kB / 421.5 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.2888, allocations: 150.9 kB / 421.7 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2888, allocations: 0 / 421.7 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.2889, allocations: 1.969 kB / 421.7 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.2889, allocations: 4 kB / 421.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.2902, allocations: 0.8139 MB / 422.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.2905, allocations: 116.7 kB / 422.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.2906, allocations: 50.98 kB / 422.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2907, allocations: 0 / 422.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.2908, allocations: 110.8 kB / 422.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2908, allocations: 0 / 422.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005714/0.2914, allocations: 182.9 kB / 423 MB, free: 15.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2914, allocations: 81.11 kB / 423 MB, free: 15.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2916, allocations: 194 kB / 423.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.2916, allocations: 29.7 kB / 423.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.2917, allocations: 145.3 kB / 423.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.2917, allocations: 42.95 kB / 423.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.2917, allocations: 0 / 423.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.2918, allocations: 339.3 kB / 423.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.2919, allocations: 46.44 kB / 423.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.292, allocations: 91.92 kB / 423.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.2921, allocations: 52.58 kB / 424 MB, free: 14.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2921, allocations: 0 / 424 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005991/0.2927, allocations: 241.8 kB / 424.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2927, allocations: 8 kB / 424.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2927, allocations: 0 / 424.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.2931, allocations: 82.55 kB / 424.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2934, allocations: 58.72 kB / 424.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009663/0.2944, allocations: 1.28 MB / 425.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.2947, allocations: 47.81 kB / 425.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2947, allocations: 6.938 kB / 425.7 MB, free: 12.48 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 (20): * Single equations (assignments): 18 * 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 9.545e-05/0.2948, allocations: 116.7 kB / 425.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.2948, allocations: 15.81 kB / 425.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.2949, allocations: 22.33 kB / 425.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2949, allocations: 4 kB / 425.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2949, allocations: 9.219 kB / 425.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2949, allocations: 0 / 425.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.2951, allocations: 238.6 kB / 426.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2951, allocations: 0 / 426.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2953, allocations: 51.84 kB / 426.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003313/0.2957, allocations: 72.8 kB / 426.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.2957, allocations: 15.47 kB / 426.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009485/0.2967, allocations: 1.275 MB / 427.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.2967, allocations: 3.906 kB / 427.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005627/0.2972, allocations: 260.7 kB / 427.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.2973, allocations: 104.8 kB / 427.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.2973, allocations: 4.109 kB / 427.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2976, allocations: 35.53 kB / 427.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.2977, allocations: 19.78 kB / 427.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2977, allocations: 4 kB / 427.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001096/0.2978, allocations: 146.5 kB / 428 MB, free: 10.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.2981, allocations: 55.84 kB / 428.1 MB, free: 10.02 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 (11): * Single equations (assignments): 8 * 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.0001665/0.2983, allocations: 107.2 kB / 428.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.2987, allocations: 240.4 kB / 428.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2987, allocations: 0 / 428.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.2989, allocations: 156.9 kB / 428.6 MB, free: 9.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.2992, allocations: 31.3 kB / 428.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.2999, allocations: 314 kB / 428.9 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.3002, allocations: 0.7596 MB / 429.7 MB, free: 8.449 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3002, allocations: 0 / 429.7 MB, free: 8.449 MB / 314.7 MB Notification: Performance of Templates: time 0.00542/0.3056, allocations: 2.679 MB / 432.4 MB, free: 5.836 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)