Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [: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.001208/0.001208, allocations: 195.5 kB / 8.139 MB, free: 2.203 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.174/1.174, allocations: 194.2 MB / 202.8 MB, free: 8.645 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.001716/0.001716, allocations: 120.5 kB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.286e-06, allocations: 0 / 297.6 MB, free: 7.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07075/0.07078, allocations: 44.5 MB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.2578, allocations: 73.57 MB / 415.6 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.258, allocations: 78.17 kB / 415.7 MB, free: 21.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01314/0.2712, allocations: 4.864 MB / 420.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2712, allocations: 8.938 kB / 420.6 MB, free: 17.32 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.0006854/0.2719, allocations: 0.5374 MB / 421.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.272, allocations: 8.031 kB / 421.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.272, allocations: 38.67 kB / 421.2 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2723, allocations: 260 kB / 421.4 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2723, allocations: 8 kB / 421.4 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.2723, allocations: 15.94 kB / 421.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002448/0.2726, allocations: 139.7 kB / 421.6 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.2729, allocations: 158.9 kB / 421.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2729, allocations: 2.406 kB / 421.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.2729, allocations: 7.656 kB / 421.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2729, allocations: 4 kB / 421.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2741, allocations: 0.8153 MB / 422.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.2747, allocations: 238.3 kB / 422.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.2748, allocations: 45.28 kB / 422.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2748, allocations: 8 kB / 422.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.275, allocations: 103.6 kB / 423 MB, free: 15.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.275, allocations: 3.938 kB / 423 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005081/0.2755, allocations: 178.7 kB / 423.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2755, allocations: 106.8 kB / 423.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2757, allocations: 215.4 kB / 423.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2757, allocations: 25.7 kB / 423.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.2758, allocations: 168.8 kB / 423.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2758, allocations: 26.98 kB / 423.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2758, allocations: 4 kB / 423.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.2759, allocations: 331.6 kB / 424 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.276, allocations: 49.03 kB / 424 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.2761, allocations: 142 kB / 424.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.2762, allocations: 57.31 kB / 424.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2762, allocations: 0 / 424.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005419/0.2767, allocations: 264.7 kB / 424.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2767, allocations: 4 kB / 424.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2768, allocations: 4 kB / 424.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.2771, allocations: 84.8 kB / 424.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.2774, allocations: 63.27 kB / 424.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009314/0.2783, allocations: 1.287 MB / 425.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.2786, allocations: 51.81 kB / 426 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2787, allocations: 11.31 kB / 426 MB, free: 12.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.2788, allocations: 114.5 kB / 426.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.2788, allocations: 23.72 kB / 426.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.2788, allocations: 24.7 kB / 426.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2788, allocations: 0 / 426.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2789, allocations: 4 kB / 426.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2789, allocations: 0 / 426.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.2795, allocations: 0.4891 MB / 426.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2795, allocations: 0 / 426.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.2797, allocations: 35.97 kB / 426.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000316/0.28, allocations: 84.3 kB / 426.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.28, allocations: 0 / 426.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007987/0.2808, allocations: 1.286 MB / 428 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2808, allocations: 0 / 428 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004484/0.2813, allocations: 277.6 kB / 428.3 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.2813, allocations: 96.14 kB / 428.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.2814, allocations: 5.984 kB / 428.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2817, allocations: 39.91 kB / 428.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.2817, allocations: 15.3 kB / 428.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2818, allocations: 0 / 428.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001081/0.2819, allocations: 165.7 kB / 428.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.2822, allocations: 55.84 kB / 428.7 MB, free: 9.32 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.2823, allocations: 118 kB / 428.8 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.2826, allocations: 234.5 kB / 429 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2827, allocations: 4 kB / 429 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.2828, allocations: 150.1 kB / 429.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2831, allocations: 33.92 kB / 429.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.2836, allocations: 244.8 kB / 429.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.2838, allocations: 0.7706 MB / 430.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2838, allocations: 0 / 430.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of Templates: time 0.005046/0.2888, allocations: 2.762 MB / 433 MB, free: 5.086 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)