Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [: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.001605/0.001605, allocations: 190.2 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.18/1.18, allocations: 194.2 MB / 202.8 MB, free: 8.68 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.001841/0.001841, allocations: 116.8 kB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.906e-06, allocations: 4 kB / 297.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.07908, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.3147, allocations: 73.88 MB / 415.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.315, allocations: 75.39 kB / 416 MB, free: 21.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02204/0.3371, allocations: 5.287 MB / 421.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.3371, allocations: 4 kB / 421.3 MB, free: 16.89 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.0009778/0.3381, allocations: 0.5717 MB / 421.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3382, allocations: 8.031 kB / 421.9 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3383, allocations: 32.17 kB / 421.9 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.3387, allocations: 266.7 kB / 422.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3387, allocations: 11.94 kB / 422.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.3388, allocations: 16 kB / 422.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004092/0.3392, allocations: 147.3 kB / 422.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.3396, allocations: 170.6 kB / 422.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3396, allocations: 3.938 kB / 422.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.3397, allocations: 3.906 kB / 422.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3397, allocations: 9.125 kB / 422.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.3416, allocations: 0.8953 MB / 423.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.3419, allocations: 111.9 kB / 423.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.342, allocations: 58.23 kB / 423.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3421, allocations: 4 kB / 423.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.3423, allocations: 127.3 kB / 423.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.856e-06/0.3423, allocations: 0 / 423.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008361/0.3431, allocations: 220.2 kB / 423.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3432, allocations: 110.6 kB / 424 MB, free: 14.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3434, allocations: 215.9 kB / 424.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3435, allocations: 29.7 kB / 424.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.3436, allocations: 158.3 kB / 424.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.3436, allocations: 48.89 kB / 424.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.3437, allocations: 0 / 424.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.3437, allocations: 336.5 kB / 424.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3439, allocations: 52.06 kB / 424.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3441, allocations: 119.9 kB / 425 MB, free: 13.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3442, allocations: 58.2 kB / 425 MB, free: 13.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3442, allocations: 4 kB / 425 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009069/0.3451, allocations: 274.8 kB / 425.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3452, allocations: 4 kB / 425.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3452, allocations: 4 kB / 425.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.3458, allocations: 101.5 kB / 425.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.3462, allocations: 63.33 kB / 425.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.3479, allocations: 1.414 MB / 426.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.3483, allocations: 47.81 kB / 426.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.3484, allocations: 8 kB / 426.9 MB, free: 11.54 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: 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): 19 * 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.0001433/0.3485, allocations: 119.8 kB / 427.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.3486, allocations: 27.7 kB / 427.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.3486, allocations: 16.34 kB / 427.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3487, allocations: 4 kB / 427.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3487, allocations: 3.062 kB / 427.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3487, allocations: 7.984 kB / 427.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.3489, allocations: 264.1 kB / 427.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.349, allocations: 0 / 427.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.3493, allocations: 39.91 kB / 427.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.3498, allocations: 100.8 kB / 427.5 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3499, allocations: 7.156 kB / 427.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.3514, allocations: 1.409 MB / 428.9 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3514, allocations: 0.875 kB / 428.9 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009119/0.3523, allocations: 322.3 kB / 429.2 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.3524, allocations: 100.4 kB / 429.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.3525, allocations: 3.906 kB / 429.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.3529, allocations: 36.03 kB / 429.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.353, allocations: 19.22 kB / 429.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.353, allocations: 4 kB / 429.4 MB, free: 9.109 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001753/0.3532, allocations: 171.4 kB / 429.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005421/0.3537, allocations: 67.84 kB / 429.6 MB, free: 8.906 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001646/0.3539, allocations: 100.5 kB / 429.7 MB, free: 8.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.3545, allocations: 268 kB / 430 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3545, allocations: 384 / 430 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.3549, allocations: 172.6 kB / 430.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3552, allocations: 41.08 kB / 430.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3563, allocations: 341.8 kB / 430.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.3566, allocations: 0.7824 MB / 431.3 MB, free: 7.242 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3566, allocations: 0 / 431.3 MB, free: 7.242 MB / 314.7 MB Notification: Performance of Templates: time 0.009256/0.3659, allocations: 3.268 MB / 434.6 MB, free: 4.043 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)