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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001002/0.001002, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.171/1.171, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001411/0.001411, allocations: 116.9 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002679, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06948/0.06976, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.2766, allocations: 74.39 MB / 429.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.2769, allocations: 86.02 kB / 429.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01195/0.2889, allocations: 5.126 MB / 434.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2889, allocations: 0 / 434.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2889, allocations: 4 kB / 434.7 MB, free: 10.84 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.0007036/0.2896, allocations: 0.5816 MB / 435.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2897, allocations: 12.59 kB / 435.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.2897, allocations: 24.75 kB / 435.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2899, allocations: 258.8 kB / 435.5 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.29, allocations: 19.55 kB / 435.6 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.29, allocations: 16.83 kB / 435.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.2904, allocations: 230.7 kB / 435.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2904, allocations: 1.875 kB / 435.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.2905, allocations: 11.81 kB / 435.8 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2905, allocations: 6.078 kB / 435.8 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.291, allocations: 230.3 kB / 436 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2921, allocations: 0.8587 MB / 436.9 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.2929, allocations: 333.8 kB / 437.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.293, allocations: 3.984 kB / 437.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.2933, allocations: 155 kB / 437.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.2933, allocations: 0 / 437.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.001292/0.2946, allocations: 492.1 kB / 437.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2946, allocations: 106.8 kB / 438 MB, free: 7.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2948, allocations: 240 kB / 438.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.2949, allocations: 32.83 kB / 438.2 MB, free: 7.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.2949, allocations: 177.5 kB / 438.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2949, allocations: 34.42 kB / 438.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.295, allocations: 7.938 kB / 438.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.295, allocations: 334.4 kB / 438.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2952, allocations: 93.16 kB / 438.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2955, allocations: 186.7 kB / 439.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.2957, allocations: 130.5 kB / 439.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2957, allocations: 0 / 439.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007955/0.2965, allocations: 402.7 kB / 439.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2966, allocations: 33.7 kB / 439.6 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2966, allocations: 4 kB / 439.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.2969, allocations: 76.81 kB / 439.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2972, allocations: 67.88 kB / 439.8 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.2986, allocations: 1.495 MB / 441.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.2989, allocations: 47.19 kB / 441.3 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2989, allocations: 11.95 kB / 441.3 MB, free: 4.395 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 () * Number of clocked 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 9.967e-05/0.299, allocations: 147.3 kB / 441.4 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.299, allocations: 19.72 kB / 441.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.2991, allocations: 26.45 kB / 441.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2991, allocations: 0.8438 kB / 441.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2991, allocations: 0 / 441.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2991, allocations: 0 / 441.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/0.3, allocations: 0.6147 MB / 442.1 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3, allocations: 0 / 442.1 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3001, allocations: 31.97 kB / 442.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.3004, allocations: 72.42 kB / 442.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3004, allocations: 9.5 kB / 442.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.3017, allocations: 1.502 MB / 443.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3017, allocations: 0 / 443.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.3024, allocations: 367.2 kB / 444.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3024, allocations: 108.1 kB / 444.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3025, allocations: 7.938 kB / 444.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3027, allocations: 31.53 kB / 444.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.3028, allocations: 23.47 kB / 444.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.3028, allocations: 2.062 kB / 444.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3029, allocations: 191.7 kB / 444.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3029, allocations: 0 / 444.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.3032, allocations: 55.5 kB / 444.5 MB, free: 1.199 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) * Number of clocked states: 0 () * 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.000122/0.3034, allocations: 98.62 kB / 444.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.304, allocations: 391.2 kB / 445 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.304, allocations: 0 / 445 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.3043, allocations: 204.8 kB / 445.2 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3045, allocations: 31.64 kB / 445.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.3051, allocations: 487.9 kB / 445.7 MB, free: 48 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3054, allocations: 0.7482 MB / 446.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.3055, allocations: 22.3 kB / 446.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.3056, allocations: 19.44 kB / 446.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3056, allocations: 0 / 446.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of Templates: time 0.005352/0.3109, allocations: 2.919 MB / 449.4 MB, free: 12.39 MB / 330.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)