Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [: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.001039/0.001039, allocations: 190.9 kB / 8.136 MB, free: 2.195 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.112/1.112, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.001824/0.001824, allocations: 115.6 kB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.285e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08515, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.3227, allocations: 74.1 MB / 416.2 MB, free: 21.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/0.3231, allocations: 72.8 kB / 416.2 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02192/0.345, allocations: 8.003 MB / 424.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.3451, allocations: 8 kB / 424.2 MB, free: 14.42 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009336/0.346, allocations: 0.6296 MB / 424.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3461, allocations: 8.031 kB / 424.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.3462, allocations: 47.44 kB / 424.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3466, allocations: 298.9 kB / 425.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3466, allocations: 12 kB / 425.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.3467, allocations: 20 kB / 425.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003389/0.347, allocations: 193.2 kB / 425.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.3475, allocations: 283.2 kB / 425.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3475, allocations: 0 / 425.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.3476, allocations: 3.906 kB / 425.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3476, allocations: 8 kB / 425.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3494, allocations: 1.11 MB / 426.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3498, allocations: 218.9 kB / 427 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.3501, allocations: 191.7 kB / 427.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.3507, allocations: 1.128 MB / 428.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3507, allocations: 46.52 kB / 428.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.3507, allocations: 3.938 kB / 428.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005733/0.3513, allocations: 258.1 kB / 428.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3514, allocations: 81.11 kB / 428.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3516, allocations: 255.7 kB / 429 MB, free: 9.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3516, allocations: 25.7 kB / 429 MB, free: 9.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3517, allocations: 188.5 kB / 429.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.3518, allocations: 95.94 kB / 429.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.3518, allocations: 0 / 429.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.3519, allocations: 344.9 kB / 429.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.352, allocations: 80.06 kB / 429.7 MB, free: 9.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3522, allocations: 156.1 kB / 429.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3524, allocations: 106.4 kB / 430 MB, free: 8.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3524, allocations: 0 / 430 MB, free: 8.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005853/0.353, allocations: 359.3 kB / 430.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.353, allocations: 4.781 kB / 430.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.353, allocations: 6.625 kB / 430.3 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/0.3533, allocations: 66.56 kB / 430.4 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3537, allocations: 82.89 kB / 430.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.3551, allocations: 1.677 MB / 432.1 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3553, allocations: 27.69 kB / 432.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.3554, allocations: 12 kB / 432.2 MB, free: 6.879 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.3555, allocations: 123.5 kB / 432.3 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.3555, allocations: 31.61 kB / 432.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005206/0.3561, allocations: 291.2 kB / 432.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3561, allocations: 0 / 432.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3561, allocations: 0 / 432.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.3561, allocations: 7.984 kB / 432.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.3565, allocations: 339.1 kB / 433 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3565, allocations: 0 / 433 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.3569, allocations: 64.77 kB / 433 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.357, allocations: 59.02 kB / 433.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.3571, allocations: 4 kB / 433.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003045/0.3574, allocations: 0.6081 MB / 433.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3574, allocations: 7.938 kB / 433.7 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005685/0.358, allocations: 472 kB / 434.2 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3581, allocations: 127.5 kB / 434.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.3582, allocations: 14.02 kB / 434.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.3585, allocations: 23.98 kB / 434.3 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3585, allocations: 7.984 kB / 434.3 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3585, allocations: 15.48 kB / 434.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000146/0.3587, allocations: 189.1 kB / 434.5 MB, free: 4.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.3592, allocations: 107.7 kB / 434.6 MB, free: 4.668 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002398/0.3594, allocations: 135.2 kB / 434.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000544/0.36, allocations: 340.3 kB / 435.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.36, allocations: 0 / 435.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.3602, allocations: 126.2 kB / 435.2 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3605, allocations: 20.58 kB / 435.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3615, allocations: 0.644 MB / 435.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.3618, allocations: 0.8351 MB / 436.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3618, allocations: 0 / 436.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of Templates: time 0.007338/0.3692, allocations: 3.5 MB / 440.2 MB, free: 15.25 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)