Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") [: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.001503/0.001503, allocations: 190.2 kB / 8.134 MB, free: 2.211 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.168/1.168, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001773/0.001773, allocations: 120.5 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.663e-06/6.773e-06, allocations: 0 / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 44.48 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.3318, allocations: 73.59 MB / 415.7 MB, free: 21.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3321, allocations: 74.86 kB / 415.7 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01437/0.3465, allocations: 4.895 MB / 420.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3465, allocations: 4 kB / 420.6 MB, free: 17.37 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.0008136/0.3473, allocations: 0.5415 MB / 421.2 MB, free: 16.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3474, allocations: 12.03 kB / 421.2 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.3474, allocations: 28.17 kB / 421.2 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.3479, allocations: 266.7 kB / 421.5 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3479, allocations: 11.94 kB / 421.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3479, allocations: 9.125 kB / 421.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003109/0.3482, allocations: 134.7 kB / 421.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3485, allocations: 161.8 kB / 421.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3485, allocations: 7.984 kB / 421.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3485, allocations: 0 / 421.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3486, allocations: 8 kB / 421.8 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3499, allocations: 0.8502 MB / 422.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3502, allocations: 129.8 kB / 422.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.235e-05/0.3502, allocations: 46.86 kB / 422.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.3503, allocations: 4 kB / 422.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.3505, allocations: 112.3 kB / 422.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3505, allocations: 0 / 422.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005772/0.351, allocations: 218.5 kB / 423.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.3511, allocations: 106.8 kB / 423.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3512, allocations: 209.5 kB / 423.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3513, allocations: 25.7 kB / 423.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.3513, allocations: 150.8 kB / 423.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3514, allocations: 42.89 kB / 423.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.3514, allocations: 0 / 423.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.3514, allocations: 336 kB / 424 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.3515, allocations: 45.75 kB / 424 MB, free: 14.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.3516, allocations: 104.3 kB / 424.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.3517, allocations: 58.42 kB / 424.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3517, allocations: 4.219 kB / 424.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005668/0.3523, allocations: 262.3 kB / 424.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3523, allocations: 11.94 kB / 424.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3523, allocations: 2.188 kB / 424.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.3528, allocations: 100.7 kB / 424.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.353, allocations: 47.91 kB / 424.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.3541, allocations: 1.41 MB / 426 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.3544, allocations: 43.88 kB / 426.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3545, allocations: 11.98 kB / 426.1 MB, free: 12.15 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 (18): * Single equations (assignments): 16 * 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.0001042/0.3546, allocations: 121.5 kB / 426.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.3546, allocations: 23.72 kB / 426.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.3546, allocations: 20.14 kB / 426.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3547, allocations: 0 / 426.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.3547, allocations: 6.234 kB / 426.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3547, allocations: 0 / 426.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3548, allocations: 249.5 kB / 426.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3548, allocations: 6.438 kB / 426.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.355, allocations: 34.66 kB / 426.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003803/0.3554, allocations: 98.66 kB / 426.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3554, allocations: 0 / 426.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.3564, allocations: 1.41 MB / 428 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3565, allocations: 1.938 kB / 428 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004999/0.357, allocations: 242.1 kB / 428.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.357, allocations: 96.77 kB / 428.4 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.3571, allocations: 0 / 428.4 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.3573, allocations: 39.41 kB / 428.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.3574, allocations: 15.47 kB / 428.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3574, allocations: 4 kB / 428.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001081/0.3575, allocations: 163.4 kB / 428.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.3578, allocations: 62.91 kB / 428.6 MB, free: 9.598 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.0001178/0.358, allocations: 103.2 kB / 428.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.3584, allocations: 260.5 kB / 429 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3584, allocations: 0 / 429 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.3586, allocations: 164.8 kB / 429.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3588, allocations: 33.11 kB / 429.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.3594, allocations: 249.9 kB / 429.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.3596, allocations: 0.7709 MB / 430.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3596, allocations: 0 / 430.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of Templates: time 0.005442/0.365, allocations: 3.065 MB / 433.3 MB, free: 5.051 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)