Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") [: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.001694/0.001694, 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.225/1.225, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001861/0.001861, allocations: 123.1 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.316e-06, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07635/0.07637, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.2657, allocations: 73.58 MB / 415.6 MB, free: 21.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.2659, allocations: 79.22 kB / 415.7 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01362/0.2795, allocations: 4.888 MB / 420.6 MB, free: 17.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2796, allocations: 8 kB / 420.6 MB, free: 17.64 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006723/0.2802, allocations: 0.5459 MB / 421.2 MB, free: 17.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2803, allocations: 8.031 kB / 421.2 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.2803, allocations: 31.62 kB / 421.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.2806, allocations: 267 kB / 421.5 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2806, allocations: 4 kB / 421.5 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.2807, allocations: 13.12 kB / 421.5 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002444/0.2809, allocations: 134.1 kB / 421.6 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2812, allocations: 164.6 kB / 421.8 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2812, allocations: 3.984 kB / 421.8 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2812, allocations: 0 / 421.8 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2812, allocations: 8 kB / 421.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.2825, allocations: 0.8562 MB / 422.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.2828, allocations: 117.2 kB / 422.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.2829, allocations: 57.86 kB / 422.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2829, allocations: 0 / 422.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.283, allocations: 110.6 kB / 422.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.2831, allocations: 3.938 kB / 422.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005888/0.2837, allocations: 222.2 kB / 423.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2837, allocations: 102.8 kB / 423.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2839, allocations: 209.6 kB / 423.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2839, allocations: 28.14 kB / 423.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.2839, allocations: 156.5 kB / 423.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.284, allocations: 42.89 kB / 423.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.284, allocations: 0 / 423.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.284, allocations: 334.9 kB / 424 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.2841, allocations: 53.62 kB / 424 MB, free: 14.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2842, allocations: 119.4 kB / 424.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.2843, allocations: 67.28 kB / 424.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2843, allocations: 0 / 424.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000592/0.2849, allocations: 270.3 kB / 424.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.285, allocations: 4 kB / 424.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.285, allocations: 0 / 424.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.2854, allocations: 110.7 kB / 424.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.2856, allocations: 47.95 kB / 424.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.2869, allocations: 1.517 MB / 426.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.2872, allocations: 47.88 kB / 426.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2872, allocations: 4 kB / 426.2 MB, free: 12.29 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.2873, allocations: 128.5 kB / 426.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.2874, allocations: 15.81 kB / 426.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.2874, allocations: 29.36 kB / 426.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2874, allocations: 3.906 kB / 426.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2874, allocations: 4 kB / 426.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2875, allocations: 0 / 426.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2876, allocations: 248 kB / 426.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2876, allocations: 3.906 kB / 426.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2878, allocations: 31.97 kB / 426.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/0.2882, allocations: 102.2 kB / 426.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2882, allocations: 2.625 kB / 426.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.2893, allocations: 1.508 MB / 428.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2893, allocations: 5.703 kB / 428.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005024/0.2898, allocations: 233.1 kB / 428.5 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.2899, allocations: 104.8 kB / 428.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.29, allocations: 4 kB / 428.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2902, allocations: 39.22 kB / 428.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.2903, allocations: 15.72 kB / 428.7 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2903, allocations: 4 kB / 428.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001176/0.2904, allocations: 165.8 kB / 428.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000396/0.2908, allocations: 67.72 kB / 428.9 MB, free: 9.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.291, allocations: 99.75 kB / 429 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.2914, allocations: 260.8 kB / 429.3 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2914, allocations: 0 / 429.3 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2916, allocations: 172.5 kB / 429.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.2918, allocations: 27.67 kB / 429.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2934, allocations: 470 kB / 429.9 MB, free: 8.656 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.2937, allocations: 0.7697 MB / 430.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2937, allocations: 0 / 430.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of Templates: time 0.005678/0.2994, allocations: 3.056 MB / 433.7 MB, free: 4.879 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)