Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003819/0.003818, allocations: 173.6 kB / 7.449 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.353/1.353, allocations: 170.6 MB / 178.4 MB, free: 15.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001832/0.001832, allocations: 115.8 kB / 217.7 MB, free: 8.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.832e-06/6.863e-06, allocations: 4 kB / 261.8 MB, free: 26.69 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07775/0.07777, allocations: 38.75 MB / 300.5 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2796/0.3574, allocations: 69.05 MB / 369.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.3577, allocations: 67.64 kB / 369.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.02459/0.3823, allocations: 8.082 MB / 377.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/0.3824, allocations: 8 kB / 377.7 MB, free: 8.777 MB / 266.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.001316/0.3837, allocations: 0.6345 MB / 378.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3837, allocations: 8.031 kB / 378.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3839, allocations: 47.44 kB / 378.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.3845, allocations: 300.4 kB / 378.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3845, allocations: 8 kB / 378.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.3845, allocations: 20 kB / 378.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004289/0.385, allocations: 200.8 kB / 378.9 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.3855, allocations: 278.5 kB / 379.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3855, allocations: 0 / 379.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3856, allocations: 0 / 379.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3856, allocations: 8 kB / 379.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.3879, allocations: 1.121 MB / 380.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.3884, allocations: 221.5 kB / 380.5 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.3889, allocations: 191.6 kB / 380.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009734/0.3898, allocations: 1.129 MB / 381.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3899, allocations: 38.61 kB / 381.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.3899, allocations: 0 / 381.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006871/0.3906, allocations: 273 kB / 382.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3907, allocations: 81.11 kB / 382.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3909, allocations: 246.8 kB / 382.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.391, allocations: 25.7 kB / 382.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3911, allocations: 185.4 kB / 382.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.3912, allocations: 99.67 kB / 382.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.3912, allocations: 4 kB / 382.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3914, allocations: 343.3 kB / 383.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3915, allocations: 79.06 kB / 383.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3917, allocations: 160.4 kB / 383.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3919, allocations: 102.3 kB / 383.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3919, allocations: 0 / 383.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006366/0.3926, allocations: 360.9 kB / 383.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3926, allocations: 8 kB / 383.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3926, allocations: 0 / 383.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.3929, allocations: 63.05 kB / 383.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.3933, allocations: 83.45 kB / 384 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.395, allocations: 1.672 MB / 385.6 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3953, allocations: 35.77 kB / 385.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.3954, allocations: 15.94 kB / 385.7 MB, free: 1.211 MB / 266.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.0001117/0.3955, allocations: 116.8 kB / 385.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.3956, allocations: 35.69 kB / 385.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.3961, allocations: 295.1 kB / 386.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3961, allocations: 4 kB / 386.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.3962, allocations: 0 / 386.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3962, allocations: 0 / 386.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3966, allocations: 350 kB / 386.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3966, allocations: 0 / 386.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.397, allocations: 67.03 kB / 386.5 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.3972, allocations: 55.81 kB / 386.6 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.3972, allocations: 3.984 kB / 386.6 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004394/0.3977, allocations: 0.6102 MB / 387.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3977, allocations: 0 / 387.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006672/0.3984, allocations: 481 kB / 387.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3985, allocations: 132.2 kB / 387.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.3986, allocations: 4 kB / 387.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3989, allocations: 19.98 kB / 387.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3989, allocations: 15.53 kB / 387.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.399, allocations: 15.88 kB / 387.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002135/0.3992, allocations: 193 kB / 388 MB, free: 15.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004874/0.3997, allocations: 103.7 kB / 388.1 MB, free: 14.98 MB / 282.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.0002276/0.3999, allocations: 125.2 kB / 388.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005837/0.4005, allocations: 343.2 kB / 388.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4005, allocations: 4.062 kB / 388.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.4008, allocations: 118.4 kB / 388.7 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4011, allocations: 16.28 kB / 388.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4023, allocations: 0.6469 MB / 389.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.4029, allocations: 0.8353 MB / 390.2 MB, free: 13 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4029, allocations: 0 / 390.2 MB, free: 13 MB / 282.7 MB Notification: Performance of Templates: time 0.008746/0.4116, allocations: 3.507 MB / 393.7 MB, free: 9.5 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)